Fixed logging into the correct world

This commit is contained in:
Dinnerbone
2011-02-07 01:10:55 +00:00
parent 3f8d9c0e1f
commit 7a71347cdf
2 changed files with 20 additions and 1 deletions

View File

@@ -65,7 +65,11 @@ public class ServerConfigurationManager {
}
public void a(WorldServer worldserver) {
this.l = new PlayerNBTManager(new File(worldserver.t, "players"));
// Craftbukkit start
if (this.l == null) {
this.l = new PlayerNBTManager(new File(worldserver.t, "players"));
}
// Craftbukkit end
}
public int a() {