aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gtPlusPlus/plugin')
-rw-r--r--src/main/java/gtPlusPlus/plugin/fixes/vanilla/VanillaBedHeightFix.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gtPlusPlus/plugin/fixes/vanilla/VanillaBedHeightFix.java b/src/main/java/gtPlusPlus/plugin/fixes/vanilla/VanillaBedHeightFix.java
index 31c0a2e41c..aa81a0378c 100644
--- a/src/main/java/gtPlusPlus/plugin/fixes/vanilla/VanillaBedHeightFix.java
+++ b/src/main/java/gtPlusPlus/plugin/fixes/vanilla/VanillaBedHeightFix.java
@@ -4,13 +4,13 @@ import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import net.minecraft.entity.player.EntityPlayer;
+import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.entity.player.PlayerSleepInBedEvent;
import cpw.mods.fml.common.eventhandler.EventPriority;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import gtPlusPlus.api.interfaces.IPlugin;
import gtPlusPlus.api.objects.Logger;
-import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.reflect.ReflectionUtils;
import gtPlusPlus.plugin.fixes.interfaces.IBugFix;
import gtPlusPlus.preloader.PreloaderCore;
@@ -37,7 +37,7 @@ public class VanillaBedHeightFix implements IBugFix {
if (m != null) {
mSleepInBedAt = m;
mParent.log("Registering Bed Height Fix.");
- Utils.registerEvent(this);
+ MinecraftForge.EVENT_BUS.register(this);
} else {
mSleepInBedAt = null;
}