From 18efbd82b668a7b6f3c2e68c9a7ad9700d941cf2 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Wed, 9 Feb 2011 20:25:14 +0000 Subject: Worlds are now in the order they are loaded, with [0] being default --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index a034bae1..623fc3f9 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -4,7 +4,7 @@ import org.bukkit.command.*; import org.bukkit.entity.Player; import java.io.File; import java.util.ArrayList; -import java.util.HashMap; +import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.logging.Level; @@ -34,7 +34,7 @@ public final class CraftServer implements Server { private final CommandMap commandMap = new SimpleCommandMap(this); protected final MinecraftServer console; protected final ServerConfigurationManager server; - private final Map worlds = new HashMap(); + private final Map worlds = new LinkedHashMap(); public CraftServer(MinecraftServer console, ServerConfigurationManager server) { this.console = console; -- cgit v1.2.3