fixed robots dying

This commit is contained in:
SpaceToad 2014-06-08 14:14:16 +02:00
parent b8aeb05dd0
commit 253c398f12

View file

@ -80,7 +80,7 @@ public class EntityRobot extends EntityLiving implements
dataWatcher.updateObject(16, board.getNBTHandler().getID());
if (world.isRemote) {
RPCHandler.rpcServer(this, "requestInitialization", itemInUse);
}
}
@ -471,4 +471,9 @@ public class EntityRobot extends EntityLiving implements
public void requestInitialization(RPCMessageInfo info) {
RPCHandler.rpcPlayer(info.sender, this, "clientSetItemInUse", itemInUse);
}
@Override
public void setHealth(float par1) {
// deactivate healh management
}
}