3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-20 21:40:06 +01:00

Moved WORLD_LOAD event to after world is actually loaded

Dieser Commit ist enthalten in:
Drakia 2011-03-26 20:50:52 -07:00 committet von Andrew Ardill
Ursprung ee815b7e40
Commit b37dd48ae5

Datei anzeigen

@ -319,7 +319,7 @@ public final class CraftServer implements Server {
} }
} }
} }
pluginManager.callEvent(new WorldLoadEvent(internal.getWorld()));
return internal.getWorld(); return internal.getWorld();
} }
@ -333,8 +333,6 @@ public final class CraftServer implements Server {
protected void addWorld(World world) { protected void addWorld(World world) {
worlds.put(world.getName().toLowerCase(), world); worlds.put(world.getName().toLowerCase(), world);
pluginManager.callEvent(new WorldLoadEvent(world));
} }
public Logger getLogger() { public Logger getLogger() {