fixed robots dying
This commit is contained in:
parent
b8aeb05dd0
commit
253c398f12
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue