sidezbros / double_hotbar

Minecraft fabric mod that expands the HUD
GNU General Public License v3.0
9 stars 6 forks source link

The object remains in the hand. #18

Open QueenUlyana opened 1 year ago

QueenUlyana commented 1 year ago

Why doesn't the thing in my hand go away? How do I make the item in my hand go away when I switch HotBar?

https://github.com/sidezbros/double_hotbar/assets/83131824/7f97864a-8c6e-4410-9ebd-a92ad8af8bd7

QueenUlyana commented 1 year ago

@sidezbros

sidezbros commented 1 year ago

I am unsure how to replicate this issue. Are you running default settings? What other mods are installed?

EmptyDreams commented 5 months ago

I am unsure how to replicate this issue. Are you running default settings? What other mods are installed?

I am experiencing the same issue where the item in my hand persists when I switch hotbars using shortcut keys, and I am using the default settings of the mods. A detailed description of my environment can be found in another issue:

https://github.com/sidezbros/double_hotbar/issues/23#issuecomment-2156652946

EmptyDreams commented 5 months ago

I am unsure how to replicate this issue. Are you running default settings? What other mods are installed?

I know why the item in my hand will stay in my hand after pressing the R key, it is a problem with the "automatic reload" function of the IPN module. When Double Hotbar replaces an item in its hand with an empty item, it causes IPN to assume that the current item is exhausted, triggering an automatic reload, which then takes a replacement item from the backpack and places it in the master hand (if the current master hand is not empty).