Fixed Hardcore mode always enabled

This commit is contained in:
bm01 2012-05-01 10:43:04 +02:00
parent d235ca8ed8
commit 5a10339adc

View File

@ -81,7 +81,9 @@ public class mcMMO extends JavaPlugin {
pm.registerEvents(playerListener, this); pm.registerEvents(playerListener, this);
pm.registerEvents(blockListener, this); pm.registerEvents(blockListener, this);
pm.registerEvents(entityListener, this); pm.registerEvents(entityListener, this);
if (Config.getInstance().getHardcoreEnabled()) {
pm.registerEvents(hardcoreListener, this); pm.registerEvents(hardcoreListener, this);
}
PluginDescriptionFile pdfFile = this.getDescription(); PluginDescriptionFile pdfFile = this.getDescription();