Fixed awkward command spy parsing.

This commit is contained in:
Brianna 2019-10-17 10:48:41 -04:00
parent f30fedeb90
commit b54280abf0
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class CommandListener implements Listener {
if (pl != player && pl.hasPermission("um.commandspy") && CommandCommandSpy.isSpying(pl))
instance.getLocale().getMessage("command.commandspy.deny")
.processPlaceholder("player", player.getName())
.processPlaceholder("command", StringEscapeUtils.escapeJava(command))
.processPlaceholder("command", command)
.sendPrefixedMessage(pl);
}
}