Paper/nms-patches/SecondaryWorldServer.patch

22 lines
1.5 KiB
Diff
Raw Normal View History

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/SecondaryWorldServer.java
+++ b/net/minecraft/server/SecondaryWorldServer.java
2019-04-23 04:00:00 +02:00
@@ -4,11 +4,13 @@
2018-08-26 04:00:00 +02:00
public class SecondaryWorldServer extends WorldServer {
2019-04-23 04:00:00 +02:00
- 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
2019-04-23 04:00:00 +02:00
+ 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
}
2019-04-23 04:00:00 +02:00
- @Override
- protected void a() {}
2019-04-23 04:00:00 +02:00
+ // @Override // CraftBukkit
+ // protected void a() {} // CraftBukkit
2019-04-23 04:00:00 +02:00
}