From 100a03274c60a95911e0b2872b9a935bea7e49eb Mon Sep 17 00:00:00 2001 From: Janne Sinisalo Date: Mon, 7 Feb 2011 17:42:11 +0200 Subject: [PATCH] Compile fix for multiworld Updated getWorlds()[0] to getWorlds().get(0) --- src/main/java/org/dynmap/DynmapPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/dynmap/DynmapPlugin.java b/src/main/java/org/dynmap/DynmapPlugin.java index b35c5a4b..a5fa55b5 100644 --- a/src/main/java/org/dynmap/DynmapPlugin.java +++ b/src/main/java/org/dynmap/DynmapPlugin.java @@ -40,7 +40,7 @@ public class DynmapPlugin extends JavaPlugin { } public World getWorld() { - return getServer().getWorlds()[0]; + return getServer().getWorlds().get(0); } public MapManager getMapManager() {