mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-11 17:31:06 +01:00
21 lines
1.5 KiB
Diff
21 lines
1.5 KiB
Diff
--- a/net/minecraft/server/SecondaryWorldServer.java
|
|
+++ b/net/minecraft/server/SecondaryWorldServer.java
|
|
@@ -4,11 +4,13 @@
|
|
|
|
public class SecondaryWorldServer extends WorldServer {
|
|
|
|
- public SecondaryWorldServer(WorldServer worldserver, MinecraftServer minecraftserver, Executor executor, WorldNBTStorage worldnbtstorage, DimensionManager dimensionmanager, GameProfilerFiller gameprofilerfiller, WorldLoadListener worldloadlistener) {
|
|
- super(minecraftserver, executor, worldnbtstorage, new SecondaryWorldData(worldserver.getWorldData()), dimensionmanager, gameprofilerfiller, worldloadlistener);
|
|
- worldserver.getWorldBorder().a((IWorldBorderListener) (new IWorldBorderListener.a(this.getWorldBorder())));
|
|
+ // CraftBukkit start - Add WorldData, Environment and ChunkGenerator arguments
|
|
+ public SecondaryWorldServer(WorldServer worldserver, MinecraftServer minecraftserver, Executor executor, WorldNBTStorage worldnbtstorage, DimensionManager dimensionmanager, GameProfilerFiller gameprofilerfiller, WorldLoadListener worldloadlistener, WorldData worldData, org.bukkit.World.Environment env, org.bukkit.generator.ChunkGenerator gen) {
|
|
+ super(minecraftserver, executor, worldnbtstorage, worldData, dimensionmanager, gameprofilerfiller, worldloadlistener, env, gen);
|
|
+ // worldserver.getWorldBorder().a((IWorldBorderListener) (new IWorldBorderListener.a(this.getWorldBorder())));
|
|
+ // CraftBukkit end
|
|
}
|
|
|
|
- @Override
|
|
- protected void a() {}
|
|
+ // @Override // CraftBukkit
|
|
+ // protected void a() {} // CraftBukkit
|
|
}
|