Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Add missing callWorldInitEvent on startup.
Dieser Commit ist enthalten in:
Ursprung
764c3f24ee
Commit
402b177be4
@ -208,6 +208,8 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC
|
|||||||
world.getWorld().getPopulators().addAll(gen.getDefaultPopulators(world.getWorld()));
|
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));
|
world.addIWorldAccess(new WorldManager(this, world));
|
||||||
if (!this.H()) {
|
if (!this.H()) {
|
||||||
world.getWorldData().setGameType(this.getGamemode());
|
world.getWorldData().setGameType(this.getGamemode());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren