fix: fixes #63

This commit is contained in:
Helvetica Volubi
2025-10-23 00:20:15 +08:00
parent 21e9299352
commit 05434f422c
@@ -304,7 +304,7 @@ public class BotList {
AtomicInteger received = new AtomicInteger();
for (ServerBot bot : this.bots) {
bot.resume = FakeplayerConfig.canResident;
if (TickThread.isTickThreadFor(bot)) {
if (TickThread.isTickThreadFor(bot.level(), bot.getX(), bot.getZ())) {
this.removeBot(bot, BotRemoveEvent.RemoveReason.INTERNAL, null, FakeplayerConfig.canResident);
} else {
finished = false;