mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 22:10:18 +00:00
Studio world checker
This commit is contained in:
1 parent
67711bcb0d
commit
aaffeb9fac
1 file changed
+4
@@ -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
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in new issue
Block a user