SPIGOT-169: Save level.dat for non-primary worlds.

By: Antony Riley <antony@cyberiantiger.org>
This commit is contained in:
CraftBukkit/Spigot
2014-12-10 18:45:44 +02:00
parent da9e41c84a
commit d5674b66a6
2 changed files with 24 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
--- ../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 @@
--- /home/antony/work/spigot-BuildTools/work/decompile-8eb82bde//net/minecraft/server/SecondaryWorldServer.java 2014-12-03 12:27:34.906671655 +0200
+++ src/main/java/net/minecraft/server/SecondaryWorldServer.java 2014-12-10 18:20:15.598416391 +0200
@@ -4,13 +4,15 @@
private WorldServer a;
@@ -13,3 +13,9 @@
this.a = worldserver;
worldserver.af().a((IWorldBorderListener) (new SecondaryWorldServerInnerClass1(this)));
}
- protected void a() {}
+ // protected void a() {} // CraftBukkit
public World b() {
this.worldMaps = this.a.T();