diff --git a/src/main/java/de/katzenpapst/amunra/proxy/ServerProxy.java b/src/main/java/de/katzenpapst/amunra/proxy/ServerProxy.java index 777a38e9..07d84734 100755 --- a/src/main/java/de/katzenpapst/amunra/proxy/ServerProxy.java +++ b/src/main/java/de/katzenpapst/amunra/proxy/ServerProxy.java @@ -3,13 +3,13 @@ import net.minecraft.server.MinecraftServer; import cpw.mods.fml.common.FMLCommonHandler; -import cpw.mods.fml.common.event.FMLPreInitializationEvent; +import cpw.mods.fml.common.event.FMLInitializationEvent; import de.katzenpapst.amunra.AmunRa; public class ServerProxy extends ARSidedProxy { @Override - public void preInit(final FMLPreInitializationEvent event) { + public void init(final FMLInitializationEvent event) { try { final MinecraftServer s = MinecraftServer.getServer(); if (s.isDedicatedServer() && !s.isServerInOnlineMode() && !AmunRa.isDevEnvironment()) {