mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 10:37:41 +01:00
Now actually registering world events
This commit is contained in:
parent
ebd2755eb2
commit
f6ec46cdf6
@ -185,6 +185,7 @@ public void onEnable() {
|
|||||||
for (World world : getServer().getWorlds()) {
|
for (World world : getServer().getWorlds()) {
|
||||||
worldListener.initWorld(world);
|
worldListener.initWorld(world);
|
||||||
}
|
}
|
||||||
|
worldListener.registerEvents();
|
||||||
|
|
||||||
// Check god mode for existing players, if any
|
// Check god mode for existing players, if any
|
||||||
for (Player player : getServer().getOnlinePlayers()) {
|
for (Player player : getServer().getOnlinePlayers()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user