9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-24 17:49:16 +00:00

Multiverse Support

This commit is contained in:
Daniel Mills
2020-09-02 13:47:20 -04:00
parent ea5dd69719
commit 4a98fb6c9d
4 changed files with 127 additions and 12 deletions

View File

@@ -43,6 +43,7 @@ public class Iris extends MortarPlugin
public static WandManager wand;
public static StructureManager struct;
public static IrisBoardManager board;
public static MultiverseCoreLink linkMultiverseCore;
private static IrisLock lock = new IrisLock("Iris");
@Permission
@@ -84,10 +85,11 @@ public class Iris extends MortarPlugin
struct = new StructureManager();
proj = new ProjectManager();
board = new IrisBoardManager();
linkMultiverseCore = new MultiverseCoreLink();
J.a(() -> IO.delete(getTemp()));
super.onEnable();
}
public static File getTemp()
{
return instance.getDataFolder("cache", "temp");