onUnequip will now only be called once if a bauble is removed via
shift-click
This commit is contained in:
Azanor committed 2014-08-20 10:52:59 +02:00
1 parent 0a8eec22db
commit 45e6e3fe27
4 files changed
+8 -5

No files matched your search

@@ -260,9 +260,9 @@ public class ContainerPlayerExpanded extends Container
}
private void unequipBauble(ItemStack stack) {
if (stack.getItem() instanceof IBauble) {
((IBauble)stack.getItem()).onUnequipped(stack, thePlayer);
}
// if (stack.getItem() instanceof IBauble) {
// ((IBauble)stack.getItem()).onUnequipped(stack, thePlayer);
// }
}