[CraftBukkit] Use correct variable when migrating world so as not to screw up rcon and getServerIP
This commit is contained in:
parent
fe4ec4e7ad
commit
f76f65a837
|
@ -0,0 +1,22 @@
|
||||||
|
From 128c79fd349a9c1b2d5b7c954a18144815b66ee7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: md_5 <md_5@live.com.au>
|
||||||
|
Date: Tue, 2 Jul 2013 20:10:46 +1000
|
||||||
|
Subject: [PATCH] Use correct variable when migrating world
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
|
index 399db47..473a629 100644
|
||||||
|
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
|
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
|
||||||
|
@@ -231,7 +231,7 @@ public abstract class MinecraftServer implements ICommandListener, Runnable, IMo
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- this.c(name);
|
||||||
|
+ this.b(name);
|
||||||
|
|
||||||
|
// CraftBukkit
|
||||||
|
world = new SecondaryWorldServer(this, new ServerNBTManager(server.getWorldContainer(), name, true), name, dimension, worldsettings, this.worlds.get(0), this.methodProfiler, this.getLogger(), Environment.getEnvironment(dimension), gen);
|
||||||
|
--
|
||||||
|
1.8.1.2
|
||||||
|
|
Loading…
Reference in New Issue