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();