Compile fix for multiworld
Updated getWorlds()[0] to getWorlds().get(0)
This commit is contained in:
parent
3e398e9124
commit
100a03274c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue