Skip to content

Commit e2a077d

Browse files
committed
make startEat request no inv actions
1 parent ed45ae7 commit e2a077d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/com/zenith/module/impl/AutoEat.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ && playerHealthBelowThreshold()
7979
switch (invActionResult.state()) {
8080
case ITEM_IN_HAND -> {
8181
startEating();
82+
INVENTORY.submit(InventoryActionRequest.noAction(this, getPriority()));
8283
}
8384
case NO_ITEM -> {
8485
if (CONFIG.client.extra.autoEat.warning

src/main/java/com/zenith/module/impl/AutoOmen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public void handleClientTick(final ClientBotTick e) {
9090
switch (invActionResult.state()) {
9191
case ITEM_IN_HAND -> {
9292
startEating();
93+
INVENTORY.submit(InventoryActionRequest.noAction(this, getPriority()));
9394
}
9495
case NO_ITEM -> {}
9596
case SWAPPING -> {

0 commit comments

Comments
 (0)