mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Moved WORLD_LOAD event to after world is actually loaded
This commit is contained in:
1 parent
ee815b7e40
commit
b37dd48ae5
1 file changed
+1
-3
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user