mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-25 10:09:14 +00:00
Studio world checker
This commit is contained in:
@@ -90,6 +90,10 @@ public class IrisToolbelt {
|
||||
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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user