mirror of
https://github.com/songoda/UltimateModeration.git
synced 2024-11-26 04:05:27 +01:00
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
Block a user