From 6bf6499f68796e77ee76d523e5dc706e08d51288 Mon Sep 17 00:00:00 2001 From: Alkalus Date: Tue, 28 Nov 2017 16:18:16 +1000 Subject: $ Fixed Thermal Centrifuge Structure check. $ Moved all SubscribeEvents to it's own handler function. % Adjusted tooltips of the Thermal Plant and the Wash Plant to reflect their actual dimensions. --- src/Java/gtPlusPlus/core/common/compat/COMPAT_PlayerAPI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Java/gtPlusPlus/core/common') diff --git a/src/Java/gtPlusPlus/core/common/compat/COMPAT_PlayerAPI.java b/src/Java/gtPlusPlus/core/common/compat/COMPAT_PlayerAPI.java index f09b91c275..06467503d8 100644 --- a/src/Java/gtPlusPlus/core/common/compat/COMPAT_PlayerAPI.java +++ b/src/Java/gtPlusPlus/core/common/compat/COMPAT_PlayerAPI.java @@ -3,7 +3,7 @@ package gtPlusPlus.core.common.compat; import api.player.client.ClientPlayerAPI; import gtPlusPlus.core.common.BasePlayer; import gtPlusPlus.core.handler.events.SneakManager; -import net.minecraftforge.common.MinecraftForge; +import gtPlusPlus.core.util.Utils; public class COMPAT_PlayerAPI { @@ -23,7 +23,7 @@ public class COMPAT_PlayerAPI { public static class clientProxy{ public static void initPre(){ - MinecraftForge.EVENT_BUS.register(SneakManager.instance); + Utils.registerEvent(SneakManager.instance); } public static void Init(){ -- cgit