mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Fixed being able to render other worlds from command.
This commit is contained in:
parent
d98fe89c42
commit
02e0f0aa24
@ -323,7 +323,7 @@ public class DynmapPlugin extends JavaPlugin {
|
||||
}
|
||||
} else if (args[0].equals("fullrender")) {
|
||||
if (player == null || player.isOp()) {
|
||||
if (args.length > 2) {
|
||||
if (args.length > 1) {
|
||||
for (int i = 1; i < args.length; i++) {
|
||||
World w = getServer().getWorld(args[i]);
|
||||
mapManager.renderFullWorld(new Location(w, 0, 0, 0));
|
||||
|
Loading…
Reference in New Issue
Block a user