Escape HTML in dynmap description setting

Fixed editing descriptions not properly checking for illegal characters
This commit is contained in:
William278 committed 2020-12-16 01:29:43 +00:00
1 parent 7fef9ea0f1
commit f1a1df6858
10 files changed
+44 -22

No files matched your search

@@ -16,6 +16,7 @@ public class setSpawnCommand implements CommandExecutor {
Player p = (Player) sender;
if (Main.settings.doSpawnCommand()) {
settingHandler.setSpawnLocation(p.getLocation());
p.getLocation().getWorld().setSpawnLocation(p.getLocation());
messageManager.sendMessage(p, "set_spawn_success");
} else {
messageManager.sendMessage(p, "error_command_disabled");