mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Studio world checker
This commit is contained in:
parent
67711bcb0d
commit
aaffeb9fac
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user