mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-17 11:15:12 -04:00
made remote terminals non-stacking to avoid binding multiple terminals to the same server
This commit is contained in:
parent
6aa72939b8
commit
60d60aa5e7
@ -16,6 +16,8 @@ import net.minecraft.world.World
|
||||
class Terminal(val parent: Delegator) extends Delegate {
|
||||
val unlocalizedName = "Terminal"
|
||||
|
||||
override def maxStackSize = 1
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
override def tooltipLines(stack: ItemStack, player: EntityPlayer, tooltip: util.List[String], advanced: Boolean) {
|
||||
tooltip.addAll(Tooltip.get(unlocalizedName))
|
||||
|
Loading…
x
Reference in New Issue
Block a user