summaryrefslogtreecommitdiffstats
path: root/nms-patches/SecondaryWorldServer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/SecondaryWorldServer.patch')
-rw-r--r--nms-patches/SecondaryWorldServer.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/nms-patches/SecondaryWorldServer.patch b/nms-patches/SecondaryWorldServer.patch
new file mode 100644
index 00000000..935246b6
--- /dev/null
+++ b/nms-patches/SecondaryWorldServer.patch
@@ -0,0 +1,15 @@
+--- ../work/decompile-bb26c12b/net/minecraft/server/SecondaryWorldServer.java 2014-11-27 08:59:46.889421019 +1100
++++ src/main/java/net/minecraft/server/SecondaryWorldServer.java 2014-11-27 08:42:10.088851036 +1100
+@@ -4,8 +4,10 @@
+
+ private WorldServer a;
+
+- public SecondaryWorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, int i, WorldServer worldserver, MethodProfiler methodprofiler) {
+- super(minecraftserver, idatamanager, new SecondaryWorldData(worldserver.getWorldData()), i, methodprofiler);
++ // CraftBukkit start - Add WorldData, Environment and ChunkGenerator arguments
++ public SecondaryWorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, int i, WorldServer worldserver, MethodProfiler methodprofiler, WorldData worldData, org.bukkit.World.Environment env, org.bukkit.generator.ChunkGenerator gen) {
++ super(minecraftserver, idatamanager, worldData, i, methodprofiler, env, gen);
++ // CraftBukkit end
+ this.a = worldserver;
+ worldserver.af().a((IWorldBorderListener) (new SecondaryWorldServerInnerClass1(this)));
+ }