mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
Add missing callWorldInitEvent on startup.
This commit is contained in:
parent
764c3f24ee
commit
402b177be4
@ -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…
Reference in New Issue
Block a user