mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-24 03:25:24 +01:00
Activate debugging listener of the property "worldguard.debug.listener" is true.
This commit is contained in:
parent
5d6dad4c6d
commit
608d782321
@ -229,7 +229,9 @@ public void run() {
|
|||||||
(new RegionProtectionListener(this)).registerEvents();
|
(new RegionProtectionListener(this)).registerEvents();
|
||||||
(new BlockedPotionsListener(this)).registerEvents();
|
(new BlockedPotionsListener(this)).registerEvents();
|
||||||
(new EventAbstractionListener(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();
|
configuration.updateCommandBookGodMode();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user