Baubles

Baubles

117M Downloads

Opening the baubles GUI calls onEquipped

Vazkii opened this issue ยท 2 comments

commented

Title, this causes baubles that add stats and remove onUnequipped to malfunction.
EDIT: Turns out it calls onEquipped, onUnequipped and onEquipped in that order. Put a println on both functions and you can see it.

commented

Hmmm, those functions are all calledin setInventorySlotContents which seems to be used by the container/gui system to populate the slots when you open an inventory.
This is going to be a pita to fix.

commented

Turns out onUnequip wasn't being called if you just click on a slot to pick something up.