Possible fix for CoreRegistry proxy not getting set right
This commit is contained in:
parent
3bc6e85b24
commit
47c77356ca
2 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,7 @@ public class CoreRegistry
|
|||
{
|
||||
if (prox == null)
|
||||
{
|
||||
if (FMLCommonHandler.instance().getEffectiveSide() == Side.CLIENT)
|
||||
if (FMLCommonHandler.instance().getSide().isClient())
|
||||
{
|
||||
prox = new ClientRegistryProxy();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue