Studio world checker

This commit is contained in:
DanLT 2021-09-01 13:07:27 -08:00
parent 67711bcb0d
commit aaffeb9fac

View File

@ -90,6 +90,10 @@ public class IrisToolbelt {
return world.getGenerator() instanceof PlatformChunkGenerator; return world.getGenerator() instanceof PlatformChunkGenerator;
} }
public static boolean isIrisStudioWorld(World world) {
return isIrisWorld(world) && access(world).isStudio();
}
/** /**
* Get the Iris generator for the given world * Get the Iris generator for the given world
* *