Compile fix for multiworld

Updated getWorlds()[0] to getWorlds().get(0)
This commit is contained in:
Janne Sinisalo 2011-02-07 17:42:11 +02:00
parent 3e398e9124
commit 100a03274c

View File

@ -40,7 +40,7 @@ public class DynmapPlugin extends JavaPlugin {
}
public World getWorld() {
return getServer().getWorlds()[0];
return getServer().getWorlds().get(0);
}
public MapManager getMapManager() {