mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-14 01:04:01 +00:00
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:
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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user