1.0.1.10 updates

- api package-info.java cleanup (closes #80)
- now you won't lose items in bauble crafting grid when switching back
to vanilla inventory
This commit is contained in:
Azanor committed 2014-12-05 08:05:33 +02:00
1 parent 97ebb51fc9
commit bc52440e62
6 files changed
+10 -5

No files matched your search

@@ -105,7 +105,6 @@ public class ContainerPlayerExpanded extends Container
public void onContainerClosed(EntityPlayer player)
{
super.onContainerClosed(player);
for (int i = 0; i < 4; ++i)
{
ItemStack itemstack = this.craftMatrix.getStackInSlotOnClosing(i);
@@ -119,7 +118,6 @@ public class ContainerPlayerExpanded extends Container
this.craftResult.setInventorySlotContents(0, (ItemStack)null);
if (!player.worldObj.isRemote) {
PlayerHandler.setPlayerBaubles(player, baubles);
// PlayerHandler.savePlayerBaubles(player);
}
}
@@ -372,5 +370,7 @@ public class ContainerPlayerExpanded extends Container
{
return par2Slot.inventory != this.craftResult && super.func_94530_a(par1ItemStack, par2Slot);
}
}