2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/SecondaryWorldServer.java
|
|
|
|
+++ b/net/minecraft/server/SecondaryWorldServer.java
|
2018-08-26 04:00:00 +02:00
|
|
|
@@ -4,8 +4,11 @@
|
2014-11-25 22:32:16 +01:00
|
|
|
|
2018-08-26 04:00:00 +02:00
|
|
|
public class SecondaryWorldServer extends WorldServer {
|
2014-11-25 22:32:16 +01:00
|
|
|
|
2018-08-26 04:00:00 +02:00
|
|
|
- public SecondaryWorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, DimensionManager dimensionmanager, WorldServer worldserver, MethodProfiler methodprofiler) {
|
|
|
|
- super(minecraftserver, idatamanager, worldserver.h(), new SecondaryWorldData(worldserver.getWorldData()), dimensionmanager, methodprofiler);
|
2014-11-25 22:32:16 +01:00
|
|
|
+ // CraftBukkit start - Add WorldData, Environment and ChunkGenerator arguments
|
2018-08-26 04:00:00 +02:00
|
|
|
+ public SecondaryWorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, DimensionManager dimensionmanager, WorldServer worldserver, MethodProfiler methodprofiler, WorldData worldData, org.bukkit.World.Environment env, org.bukkit.generator.ChunkGenerator gen) {
|
|
|
|
+ super(minecraftserver, idatamanager, worldserver.h(), worldData, dimensionmanager, methodprofiler, env, gen);
|
2014-11-25 22:32:16 +01:00
|
|
|
+ // CraftBukkit end
|
2015-02-26 23:41:06 +01:00
|
|
|
+ /* CraftBukkit start
|
|
|
|
worldserver.getWorldBorder().a(new IWorldBorderListener() {
|
|
|
|
public void a(WorldBorder worldborder, double d0) {
|
|
|
|
SecondaryWorldServer.this.getWorldBorder().setSize(d0);
|
2018-08-26 04:00:00 +02:00
|
|
|
@@ -35,9 +38,10 @@
|
2015-02-26 23:41:06 +01:00
|
|
|
SecondaryWorldServer.this.getWorldBorder().setDamageBuffer(d0);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
+ // CraftBukkit end */
|
2014-11-25 22:32:16 +01:00
|
|
|
}
|
2014-12-10 17:45:44 +01:00
|
|
|
|
|
|
|
- protected void a() {}
|
|
|
|
+ // protected void a() {} // CraftBukkit
|
|
|
|
|
2018-12-13 01:00:00 +01:00
|
|
|
public SecondaryWorldServer i_() {
|
2018-08-26 04:00:00 +02:00
|
|
|
String s = PersistentVillage.a(this.worldProvider);
|
|
|
|
@@ -51,7 +55,7 @@
|
2014-12-10 20:16:37 +01:00
|
|
|
this.villages.a((World) this);
|
|
|
|
}
|
|
|
|
|
|
|
|
- return this;
|
2018-08-26 04:00:00 +02:00
|
|
|
+ return (SecondaryWorldServer) super.i_(); // CraftBukkit
|
2014-12-10 20:16:37 +01:00
|
|
|
}
|
2016-02-29 22:32:46 +01:00
|
|
|
|
2018-07-15 02:00:00 +02:00
|
|
|
public void t_() {
|