382383384385386387388389390391392
@Override public void updateKeyHeldState(int key, boolean held) { if(worldObj.isRemote && foundDriveable) { FlansMod.getPacketHandler().sendToServer(new PacketDriveableKeyHeld(key, held)); } if(driver) { driveable.updateKeyHeldState(key, held);
411412413414415416417418419420421
@Override public void updateKeyHeldState(int key, boolean held) { if(worldObj.isRemote) { FlansMod.getPacketHandler().sendToServer(new PacketDriveableKeyHeld(key, held)); } switch(key) { case 9 : leftMouseHeld = held; break; case 8 : rightMouseHeld = held; break;