Possible fix for CoreRegistry proxy not getting set right

This commit is contained in:
Robert 2013-12-26 21:44:42 -05:00
parent 3bc6e85b24
commit 47c77356ca
2 changed files with 2 additions and 1 deletions

View file

@ -39,7 +39,7 @@ public class CoreRegistry
{
if (prox == null)
{
if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT)
if (FMLCommonHandler.instance().getSide().isClient())
{
prox = new ClientRegistryProxy();
}

View file

@ -73,6 +73,7 @@ public class DarkCore
{
if (!pre)
{
MinecraftForge.EVENT_BUS.register(this);
MinecraftForge.EVENT_BUS.register(new FluidHelper());
MinecraftForge.EVENT_BUS.register(SaveManager.instance());
TickRegistry.registerTickHandler(NetworkUpdateHandler.instance(), Side.SERVER);