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() {