Update to 1.11.2. Untested, still using outdated MCMP

This commit is contained in:
aidancbrady committed 2017-03-25 20:35:26 -04:00
1 parent 2b02042f4c
commit 6a42eb64e3
666 files changed
+11360 -3713

No files matched your search

@@ -54,7 +54,7 @@ public class ContainerElectricMachine extends Container
@Override
public boolean canInteractWith(EntityPlayer entityplayer)
{
return tileEntity.isUseableByPlayer(entityplayer);
return tileEntity.isUsableByPlayer(entityplayer);
}
@Override
@@ -131,7 +131,7 @@ public class ContainerElectricMachine extends Container
}
}
if(slotStack.stackSize == 0)
if(slotStack.getCount() == 0)
{
currentSlot.putStack((ItemStack)null);
}
@@ -139,12 +139,12 @@ public class ContainerElectricMachine extends Container
currentSlot.onSlotChanged();
}
if(slotStack.stackSize == stack.stackSize)
if(slotStack.getCount() == stack.getCount())
{
return null;
}
currentSlot.onPickupFromSlot(player, slotStack);
currentSlot.onTake(player, slotStack);
}
return stack;