mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-24 04:50:30 -04:00
Merge branch 'master' of github.com:MightyPirates/OpenComputers into MC1.7
This commit is contained in:
commit
965aafacbb
Binary file not shown.
Binary file not shown.
@ -96,6 +96,15 @@ abstract class Case(val parent: SimpleDelegator) extends RedstoneAware with Simp
|
||||
}
|
||||
true
|
||||
}
|
||||
else if (player.getCurrentEquippedItem == null) {
|
||||
if (!world.isRemote) {
|
||||
world.getBlockTileEntity(x, y, z) match {
|
||||
case computer: tileentity.Case if !computer.isRunning => computer.start()
|
||||
case _ =>
|
||||
}
|
||||
}
|
||||
true
|
||||
}
|
||||
else false
|
||||
}
|
||||
|
||||
|
@ -148,6 +148,15 @@ class RobotProxy(val parent: SpecialDelegator) extends RedstoneAware with Specia
|
||||
}
|
||||
true
|
||||
}
|
||||
else if (player.getCurrentEquippedItem == null) {
|
||||
if (!world.isRemote) {
|
||||
world.getBlockTileEntity(x, y, z) match {
|
||||
case proxy: tileentity.RobotProxy if !proxy.isRunning => proxy.start()
|
||||
case _ =>
|
||||
}
|
||||
}
|
||||
true
|
||||
}
|
||||
else false
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user