Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Moved WORLD_LOAD event to after world is actually loaded
Dieser Commit ist enthalten in:
Ursprung
ee815b7e40
Commit
b37dd48ae5
@ -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() {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren