fix autototem stack mode

This commit is contained in:
Daniella / Tove 2024-05-24 02:41:22 +02:00
parent ee3be3a8e3
commit 2ba8af87b0
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -287,7 +287,7 @@ public class AutoTotem extends Feature {
Container container = mc.player.inventoryContainer;
int count = container.getSlot(InventoryUtils.OFFHAND_SLOT).getStack().getCount();
if(count <= switchCount + prepCount) {
if(count > switchCount && count <= switchCount + prepCount) {
if(container.getSlot(36 + 8).getStack().getItem() == Items.TOTEM_OF_UNDYING) {
return;
}