9
0
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:
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;
}
public static boolean isIrisStudioWorld(World world) {
return isIrisWorld(world) && access(world).isStudio();
}
/**
* Get the Iris generator for the given world
*