Fixed being able to render other worlds from command.
This commit is contained in:
parent
d98fe89c42
commit
02e0f0aa24
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue