KAMI
KAMI copied to clipboard
AutoTotem swithches to an empty slot when a totem is used
Describe the bug AutoTotem switches to an empty inventory slot in the hotbar when a totem is consumed and replaced in the offhand. If there isn't any empty slots in the hotbar, the totem is replaced in the offhand and nothing else happens, as expected. If there is multiple empty slots the first one is selected.
To Reproduce
- Obviously install KAMI;
- Enable AutoTotem;
- Cause enough damage to stop living;
- AutoTotem replenishes the totem in the offhand;
- An empty slot is selected in the hotbar (the first one).
Expected behavior The selected slot stays the same.
Screenshots Not necessary or applicable. Maybe a video but I'm lazy. If you really need a video I can make one, just ask.
Environment Did you build KAMI yourself? If so, on what commit? If not, which release did you download? Build, commit: 9a47d6b282f4c0cc22bfe3fce22c0d4c5f836314
What operating operating system?
uname -a
gives: Linux debian 5.7.0-3-amd64 #1 SMP Debian 5.7.17-1 (2020-08-23) x86_64 GNU/Linux
.
What version of java?
java -version
gives: Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
.
Additional context No.