Compile fix for multiworld
Updated getWorlds()[0] to getWorlds().get(0)
This commit is contained in:
parent
6c1a69a517
commit
9b9630fff4
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ public class DynmapPlugin extends JavaPlugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
public World getWorld() {
|
public World getWorld() {
|
||||||
return getServer().getWorlds()[0];
|
return getServer().getWorlds().get(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public MapManager getMapManager() {
|
public MapManager getMapManager() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue