mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Compile fix for multiworld
Updated getWorlds()[0] to getWorlds().get(0)
This commit is contained in:
parent
3e398e9124
commit
100a03274c
@ -40,7 +40,7 @@ public class DynmapPlugin extends JavaPlugin {
|
||||
}
|
||||
|
||||
public World getWorld() {
|
||||
return getServer().getWorlds()[0];
|
||||
return getServer().getWorlds().get(0);
|
||||
}
|
||||
|
||||
public MapManager getMapManager() {
|
||||
|
Loading…
Reference in New Issue
Block a user