mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Fixed Hardcore mode always enabled
This commit is contained in:
parent
d235ca8ed8
commit
5a10339adc
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user