diff --git a/common/mekanism/common/item/ItemProxy.java b/common/mekanism/common/item/ItemProxy.java index f3d39e728..882826f70 100644 --- a/common/mekanism/common/item/ItemProxy.java +++ b/common/mekanism/common/item/ItemProxy.java @@ -77,22 +77,22 @@ public class ItemProxy extends Item return stack; } - + @Override public void registerIcons(IconRegister register) {} - - @Override - public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5) - { - if (par3Entity instanceof EntityPlayer) - { - EntityPlayer player = (EntityPlayer) par3Entity; - for (Object o : player.inventoryContainer.inventorySlots) - { - Slot s = (Slot) o; - if (s.getStack() != null && s.getStack().getItem() == this) - player.inventory.decrStackSize(s.slotNumber, 64); - } - } - } + + @Override + public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5) + { + if (par3Entity instanceof EntityPlayer) + { + EntityPlayer player = (EntityPlayer) par3Entity; + for (Object o : player.inventoryContainer.inventorySlots) + { + Slot s = (Slot) o; + if (s.getStack() != null && s.getStack().getItem() == this) + player.inventory.decrStackSize(s.slotNumber, 64); + } + } + } }