Fixed awkward command spy parsing.
This commit is contained in:
parent
f30fedeb90
commit
b54280abf0
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue