mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-04 00:46:08 +00:00
commit
dcfd5a0cd8
@ -651,7 +651,7 @@ public interface Engine extends DataProvider, Fallible, LootProvider, BlockUpdat
|
|||||||
}
|
}
|
||||||
|
|
||||||
default IrisPosition lookForRegion(IrisRegion reg, long timeout, Consumer<Integer> triesc) {
|
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)");
|
Iris.error("Cannot GOTO without a bound world (headless mode)");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user