mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 19:15:32 +01:00
90ac03522a
This reverts commit d6e3dff7d8
.
16 lines
1.1 KiB
Diff
16 lines
1.1 KiB
Diff
--- ../work/decompile-8eb82bde//net/minecraft/server/SecondaryWorldServer.java 2014-11-28 17:43:43.369707429 +0000
|
|
+++ src/main/java/net/minecraft/server/SecondaryWorldServer.java 2014-11-28 17:38:18.000000000 +0000
|
|
@@ -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)));
|
|
}
|