mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Moved WORLD_LOAD event to after world is actually loaded
By: Drakia <Contact@TheDgtl.net>
This commit is contained in:
parent
fe15903b22
commit
6f8ecc04e5
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…
Reference in a new issue