mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Add missing callWorldInitEvent on startup.
This commit is contained in:
1 parent
764c3f24ee
commit
402b177be4
1 file changed
+2
@@ -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