This commit is contained in:
CocoTheOwner 2021-08-15 13:36:06 +02:00
parent d20d1488de
commit 1c4778790a

View File

@ -373,7 +373,7 @@ public class DecIrisStudio implements DecreeExecutor, DecreeStudioExtension {
IrisBiome biome IrisBiome biome
){ ){
if (!IrisToolbelt.isIrisWorld(world())){ if (!IrisToolbelt.isIrisWorld(world())){
error("You must be in an Iris world to use this command!") error("You must be in an Iris world to use this command!");
return; return;
} }
@ -393,10 +393,10 @@ public class DecIrisStudio implements DecreeExecutor, DecreeStudioExtension {
IrisRegion region IrisRegion region
){ ){
if (!IrisToolbelt.isIrisWorld(world())){ if (!IrisToolbelt.isIrisWorld(world())){
error("You must be in an Iris world to use this command!") error("You must be in an Iris world to use this command!");
return; return;
} }
IrisPosition l = engine().lookForRegion(region, 10000, (v) -> message("Looking for " + C.BOLD + C.WHITE + region.getName() + C.RESET + C.GRAY + ": Checked " + Form.f(v) + " Places")); IrisPosition l = engine().lookForRegion(region, 10000, (v) -> message("Looking for " + C.BOLD + C.WHITE + region.getName() + C.RESET + C.GRAY + ": Checked " + Form.f(v) + " Places"));
if (l == null) { if (l == null) {