Merge pull request #3460 from webbukkit/No-Reload

Remove Broken Dynmap reload command
This commit is contained in:
mikeprimm 2021-08-21 10:49:26 -05:00 committed by GitHub
commit f29b431fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1159,7 +1159,6 @@ public class DynmapCore implements DynmapCommonAPI {
"cancelrender",
"radiusrender",
"updaterender",
"reload",
"stats",
"triggerstats",
"resetstats",
@ -1590,11 +1589,11 @@ public class DynmapCore implements DynmapCommonAPI {
} else {
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...");
getServer().reload();
sender.sendMessage("Dynmap reloaded");
} else if (c.equals("stats") && checkPlayerPermission(sender, "stats")) {
} */else if (c.equals("stats") && checkPlayerPermission(sender, "stats")) {
if(args.length == 1)
mapManager.printStats(sender, null);
else