mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
Add missing callWorldInitEvent on startup.
This commit is contained in:
@@ -208,6 +208,8 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
|
||||
world.getWorld().getPopulators().addAll(gen.getDefaultPopulators(world.getWorld()));
|
||||
}
|
||||
|
||||
this.server.getPluginManager().callEvent(new org.bukkit.event.world.WorldInitEvent(world.getWorld()));
|
||||
|
||||
world.addIWorldAccess(new WorldManager(this, world));
|
||||
if (!this.H()) {
|
||||
world.getWorldData().setGameType(this.getGamemode());
|
||||
|
Reference in New Issue
Block a user