From bfec3fff3613dfb6b6ffa7f9952df5f736ea9c69 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 30 Apr 2012 06:43:12 -0700 Subject: [PATCH] Forgot to register events for the new listener --- src/main/java/com/gmail/nossr50/mcMMO.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 7b12b660d..46b4a95e4 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -14,6 +14,7 @@ import com.gmail.nossr50.util.Metrics; import com.gmail.nossr50.util.Users; import com.gmail.nossr50.listeners.BlockListener; import com.gmail.nossr50.listeners.EntityListener; +import com.gmail.nossr50.listeners.HardcoreListener; import com.gmail.nossr50.listeners.PlayerListener; import com.gmail.nossr50.locale.LocaleLoader; @@ -37,6 +38,7 @@ public class mcMMO extends JavaPlugin { private final PlayerListener playerListener = new PlayerListener(this); private final BlockListener blockListener = new BlockListener(this); private final EntityListener entityListener = new EntityListener(this); + private final HardcoreListener hardcoreListener = new HardcoreListener(); public HashMap aliasMap = new HashMap(); //Alias - Command public HashMap arrowTracker = new HashMap(); @@ -77,6 +79,7 @@ public class mcMMO extends JavaPlugin { pm.registerEvents(playerListener, this); pm.registerEvents(blockListener, this); pm.registerEvents(entityListener, this); + pm.registerEvents(hardcoreListener, this); PluginDescriptionFile pdfFile = this.getDescription();