summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-02-09 20:25:14 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-02-09 20:25:14 +0000
commit18efbd82b668a7b6f3c2e68c9a7ad9700d941cf2 (patch)
treee629b10d84202ecd6218df46402d00767dbd155d /src/main/java/org
parent6e58053eb7b8afe3c75a8d31f730ae92f74d0f7c (diff)
downloadcraftbukkit-18efbd82b668a7b6f3c2e68c9a7ad9700d941cf2.tar
craftbukkit-18efbd82b668a7b6f3c2e68c9a7ad9700d941cf2.tar.gz
craftbukkit-18efbd82b668a7b6f3c2e68c9a7ad9700d941cf2.tar.lz
craftbukkit-18efbd82b668a7b6f3c2e68c9a7ad9700d941cf2.tar.xz
craftbukkit-18efbd82b668a7b6f3c2e68c9a7ad9700d941cf2.zip
Worlds are now in the order they are loaded, with [0] being default
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/CraftServer.java4
1 files changed, 2 insertions, 2 deletions
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<String, World> worlds = new HashMap<String, World>();
+ private final Map<String, World> worlds = new LinkedHashMap<String, World>();
public CraftServer(MinecraftServer console, ServerConfigurationManager server) {
this.console = console;