if (player.worldObj.isRemote)
NetworkHandler.wrapper.sendToServer(new PacketSyncPlayerHotbar(player));
this.armor = RarmorUtil.getPlayersRarmorChestplate(player);
InventoryPlayer inventoryPlayer = player.inventory;
this.inventory = RarmorUtil.readRarmor(player);
<BUG>RarmorUtil.saveRarmor(player, this.inventory);</BUG>
this.player = player;
armor.getTagCompound().setBoolean("click", false);
for (int i = 0; i < 3; ++i){
for (int j = 0; j < 9; j++){
<BUG>this.addSlotToContainer(new SlotUpdate(this.inventory, j + i * 9, 44 + j * 18, 87 + i * 18, player));
}</BUG>
}

if (player.worldObj.isRemote)
NetworkHandler.wrapper.sendToServer(new PacketSyncPlayerHotbar(player));
this.armor = RarmorUtil.getPlayersRarmorChestplate(player);
InventoryPlayer inventoryPlayer = player.inventory;
this.inventory = RarmorUtil.readRarmor(player);
this.player = player;
armor.getTagCompound().setBoolean("click", false);
for (int i = 0; i < 3; ++i){
for (int j = 0; j < 9; j++){
this.addSlotToContainer(new Slot(this.inventory, j + i * 9, 44 + j * 18, 87 + i * 18));
}
}
