This commit is contained in:
theDAVID543
2023-08-18 11:53:06 +08:00
parent 804147e2c4
commit a821c0da50

View File

@@ -651,7 +651,7 @@ public interface Engine extends DataProvider, Fallible, LootProvider, BlockUpdat
}
default IrisPosition lookForRegion(IrisRegion reg, long timeout, Consumer<Integer> triesc) {
if (getWorld().hasRealWorld()) {
if (!getWorld().hasRealWorld()) {
Iris.error("Cannot GOTO without a bound world (headless mode)");
return null;
}