mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
Merge pull request #3460 from webbukkit/No-Reload
Remove Broken Dynmap reload command
This commit is contained in:
commit
f29b431fbd
@ -1159,7 +1159,6 @@ public class DynmapCore implements DynmapCommonAPI {
|
|||||||
"cancelrender",
|
"cancelrender",
|
||||||
"radiusrender",
|
"radiusrender",
|
||||||
"updaterender",
|
"updaterender",
|
||||||
"reload",
|
|
||||||
"stats",
|
"stats",
|
||||||
"triggerstats",
|
"triggerstats",
|
||||||
"resetstats",
|
"resetstats",
|
||||||
@ -1590,11 +1589,11 @@ public class DynmapCore implements DynmapCommonAPI {
|
|||||||
} else {
|
} else {
|
||||||
sender.sendMessage("World name is required");
|
sender.sendMessage("World name is required");
|
||||||
}
|
}
|
||||||
} else if (c.equals("reload") && checkPlayerPermission(sender, "reload")) {
|
} /*else if (c.equals("reload") && checkPlayerPermission(sender, "reload")) {
|
||||||
sender.sendMessage("Reloading Dynmap...");
|
sender.sendMessage("Reloading Dynmap...");
|
||||||
getServer().reload();
|
getServer().reload();
|
||||||
sender.sendMessage("Dynmap reloaded");
|
sender.sendMessage("Dynmap reloaded");
|
||||||
} else if (c.equals("stats") && checkPlayerPermission(sender, "stats")) {
|
} */else if (c.equals("stats") && checkPlayerPermission(sender, "stats")) {
|
||||||
if(args.length == 1)
|
if(args.length == 1)
|
||||||
mapManager.printStats(sender, null);
|
mapManager.printStats(sender, null);
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user