mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Add missing callWorldInitEvent on startup.
This commit is contained in:
parent
764c3f24ee
commit
402b177be4
1 changed files with 2 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue