Archiviert
13
0

[CraftBukkit] Use correct variable when migrating world so as not to screw up rcon and getServerIP

Dieser Commit ist enthalten in:
md_5 2013-07-02 20:11:09 +10:00
Ursprung fe4ec4e7ad
Commit f76f65a837

Datei anzeigen

@ -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