twokilohertz / HotbarReplace

A Minecraft Fabric mod to replace blocks in your hotbar when you run out with blocks from your inventory
MIT License
0 stars 1 forks source link

Refills hotbar slot instead of off-hand #4

Open termilu opened 1 month ago

termilu commented 1 month ago

If you place down all of your off-hand blocks it then replaces the item slot you are currently holding instead of the off-hand slot. It then doesnt know what it should do with the item you were originally holding in your main hand and picks it up once you open your inventory. This is happening in version 0.1.3 on fabric 1.21.

https://github.com/user-attachments/assets/e7f70131-8e27-4501-a266-11a4d7d674d1

twokilohertz commented 1 month ago

Thank you very much for the bug report! I'll admit that I never came across this in testing as I don't usually have blocks in my off-hand personally.

I'll give this a look and work out a solution. May take me a couple of days as I'm away from my development setup right now.

termilu commented 1 month ago

Went ahead and fixed this in #5