fix for various unequip/ equip event fails
This commit is contained in:
Azanor committed 2014-08-07 09:30:13 +02:00
1 parent 3e8015e246
commit 2ef1fca7cb
6 files changed
+37 -11

No files matched your search

@@ -86,6 +86,7 @@ public class ContainerPlayerExpanded extends Container
}
this.onCraftMatrixChanged(this.craftMatrix);
}
/**
@@ -264,7 +265,18 @@ public class ContainerPlayerExpanded extends Container
}
}
protected boolean mergeItemStack(ItemStack par1ItemStack, int par2, int par3, boolean par4, Slot ss)
@Override
public void putStacksInSlots(ItemStack[] p_75131_1_) {
baubles.blockEvents=true;
super.putStacksInSlots(p_75131_1_);
}
protected boolean mergeItemStack(ItemStack par1ItemStack, int par2, int par3, boolean par4, Slot ss)
{
boolean flag1 = false;
int k = par2;