JamCoreModding / utility-belt

MIT License
2 stars 2 forks source link

When a tool being used from the hotbar breaks, the tool in the currently selected Utility Belt slot is deleted #32

Closed floral-qua-floral closed 2 years ago

floral-qua-floral commented 2 years ago

Reproducing the issue is pretty straightforward - get an item in the toolbelt, make sure the selected toolbelt slot is on that item, then switch to the normal hotbar and use a tool until it breaks. The item in the toolbelt will disappear, regardless of its durability.

I haven't checked yet whether this is a weird mod interaction, since that seemed unlikely. If you can't reproduce it, let me know and I'll do a more thorough investigation.

Jamalam360 commented 2 years ago

Oh boy, more of these shenanigans

I'll investigate tomorrow, thanks

Jamalam360 commented 2 years ago

Note to self: this line needs to actually check if the tool belt is equipped