mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-19 03:39:25 +00:00
closes #60
onUnequip will now only be called once if a bauble is removed via shift-click
This commit is contained in:
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);
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user