diff --git a/src/main/java/xyz/nucleoid/fantasy/RuntimeWorldManager.java b/src/main/java/xyz/nucleoid/fantasy/RuntimeWorldManager.java index ed4ba23..37d4188 100644 --- a/src/main/java/xyz/nucleoid/fantasy/RuntimeWorldManager.java +++ b/src/main/java/xyz/nucleoid/fantasy/RuntimeWorldManager.java @@ -49,6 +49,10 @@ RuntimeWorld add(RegistryKey worldKey, RuntimeWorldConfig config, Runtime RuntimeWorld world = config.getWorldConstructor().createWorld(this.server, worldKey, config, style); this.serverAccess.getWorlds().put(world.getRegistryKey(), world); + + // setup world border data sender (named poorly in yarn mappings) + this.server.getPlayerManager().setMainWorld(world); + ServerWorldEvents.LOAD.invoker().onWorldLoad(this.server, world); // tick the world to ensure it is ready for use right away