From f76f65a837ea2c54a6ebe4141023011f73314e48 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 2 Jul 2013 20:11:09 +1000 Subject: [PATCH] [CraftBukkit] Use correct variable when migrating world so as not to screw up rcon and getServerIP --- ...orrect-variable-when-migrating-world.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CraftBukkit-Patches/0060-Use-correct-variable-when-migrating-world.patch diff --git a/CraftBukkit-Patches/0060-Use-correct-variable-when-migrating-world.patch b/CraftBukkit-Patches/0060-Use-correct-variable-when-migrating-world.patch new file mode 100644 index 0000000..ff60b63 --- /dev/null +++ b/CraftBukkit-Patches/0060-Use-correct-variable-when-migrating-world.patch @@ -0,0 +1,22 @@ +From 128c79fd349a9c1b2d5b7c954a18144815b66ee7 Mon Sep 17 00:00:00 2001 +From: md_5 +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 +