public void handleEntityEquipment(SPacketEntityEquipment packetIn) { PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController); Entity entity = this.clientWorldController.getEntityByID(packetIn.getEntityID()); if (entity != null) { entity.setItemStackToSlot(packetIn.getEquipmentSlot(), packetIn.getItemStack()); } }
void handleEntityEquipment(SPacketEntityEquipment packetIn);