diff --git a/src/main/java/dev/ninjdai/werewolf/Main.java b/src/main/java/dev/ninjdai/werewolf/Main.java index 0ebfaec..6d8e87e 100644 --- a/src/main/java/dev/ninjdai/werewolf/Main.java +++ b/src/main/java/dev/ninjdai/werewolf/Main.java @@ -19,12 +19,15 @@ import org.slf4j.LoggerFactory; public class Main { public static final Logger LOGGER = LoggerFactory.getLogger("Playground"); - public static final InstanceManager instanceManager = MinecraftServer.getInstanceManager(); - public static final InstanceContainer overworld = instanceManager.createInstanceContainer(); + public static InstanceManager instanceManager; + public static InstanceContainer overworld; public static void main(String[] args) { MinecraftServer minecraftServer = MinecraftServer.init(); + instanceManager = MinecraftServer.getInstanceManager(); + overworld = instanceManager.createInstanceContainer(); + //VanillaReimplementation vri = VanillaReimplementation.hook(MinecraftServer.process()); overworld.setGenerator(LGGenerator::generate);