diff --git a/libs/OpenComputers-JNLua.jar b/libs/OpenComputers-JNLua.jar index f3abfe1f4..f06a8f722 100644 Binary files a/libs/OpenComputers-JNLua.jar and b/libs/OpenComputers-JNLua.jar differ diff --git a/libs/OpenComputers-LuaJ.jar b/libs/OpenComputers-LuaJ.jar index 70c315e47..1d2cc019b 100644 Binary files a/libs/OpenComputers-LuaJ.jar and b/libs/OpenComputers-LuaJ.jar differ diff --git a/src/main/scala/li/cil/oc/common/entity/Drone.scala b/src/main/scala/li/cil/oc/common/entity/Drone.scala index 3f2420ca8..6b7b1d1e4 100644 --- a/src/main/scala/li/cil/oc/common/entity/Drone.scala +++ b/src/main/scala/li/cil/oc/common/entity/Drone.scala @@ -466,7 +466,8 @@ class Drone(val world: World) extends Entity(world) with MachineHost with intern super.hitByEntity(entity) } - override def interactFirst(player: EntityPlayer) = { + override def interactFirst(player: EntityPlayer): Boolean = { + if (isDead) return false if (player.isSneaking) { if (Wrench.isWrench(player.getHeldItem)) { if(!world.isRemote) { @@ -538,6 +539,7 @@ class Drone(val world: World) extends Entity(world) with MachineHost with intern } override def kill(): Unit = { + if (isDead) return super.kill() if (!world.isRemote) { val stack = api.Items.get(Constants.ItemName.Drone).createItemStack(1)