mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
Moved WORLD_LOAD event to after world is actually loaded
This commit is contained in:
parent
ee815b7e40
commit
b37dd48ae5
1 changed files with 1 additions and 3 deletions
|
@ -319,7 +319,7 @@ public final class CraftServer implements Server {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pluginManager.callEvent(new WorldLoadEvent(internal.getWorld()));
|
||||
return internal.getWorld();
|
||||
}
|
||||
|
||||
|
@ -333,8 +333,6 @@ public final class CraftServer implements Server {
|
|||
|
||||
protected void addWorld(World world) {
|
||||
worlds.put(world.getName().toLowerCase(), world);
|
||||
|
||||
pluginManager.callEvent(new WorldLoadEvent(world));
|
||||
}
|
||||
|
||||
public Logger getLogger() {
|
||||
|
|
Loading…
Add table
Reference in a new issue