Start worlds.txt edit commands - add /dmap worldlist and /dmap worldset
This commit is contained in:
parent
3b19d11694
commit
86c7dee750
2 changed files with 23 additions and 0 deletions
|
|
@ -240,6 +240,14 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||
public void resetCacheStats() {
|
||||
sscache.resetStats();
|
||||
}
|
||||
@Override
|
||||
public DynmapWorld getWorldByName(String wname) {
|
||||
World w = getServer().getWorld(wname); /* FInd world */
|
||||
if(w != null) {
|
||||
return new BukkitWorld(w);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Player access abstraction class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue