mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Escape HTML in dynmap description setting
Fixed editing descriptions not properly checking for illegal characters
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user