fix certain void trade setups
This commit is contained in:
@@ -7,7 +7,7 @@ mod_name = AutoTrade
|
||||
author = sebseb7
|
||||
mod_file_name = autotrade-fabric
|
||||
|
||||
mod_version = 0.0.8
|
||||
mod_version = 0.0.9
|
||||
|
||||
malilib_version = 0.18.0
|
||||
minecraft_version_min = 1.20.3
|
||||
|
||||
@@ -207,7 +207,9 @@ public class KeybindCallbacks implements IHotkeyCallback, IClientTickHandler {
|
||||
boolean found = false;
|
||||
for (Entity entity : mc.player.clientWorld.getEntities()) {
|
||||
if (entity instanceof VillagerEntity || entity instanceof WanderingTraderEntity) {
|
||||
found = true;
|
||||
if (villagersInRange.contains(entity)) {
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user