Activate debugging listener of the property "worldguard.debug.listener" is true.

This commit is contained in:
sk89q 2014-08-14 22:23:47 -07:00
parent 5d6dad4c6d
commit 608d782321

View File

@ -229,7 +229,9 @@ public void run() {
(new RegionProtectionListener(this)).registerEvents();
(new BlockedPotionsListener(this)).registerEvents();
(new EventAbstractionListener(this)).registerEvents();
(new DebuggingListener(this, getLogger())).registerEvents();
if ("true".equalsIgnoreCase(System.getProperty("worldguard.debug.listener"))) {
(new DebuggingListener(this, getLogger())).registerEvents();
}
configuration.updateCommandBookGodMode();