mirror of
https://github.com/songoda/UltimateModeration.git
synced 2024-11-26 12:15:14 +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))
|
if (pl != player && pl.hasPermission("um.commandspy") && CommandCommandSpy.isSpying(pl))
|
||||||
instance.getLocale().getMessage("command.commandspy.deny")
|
instance.getLocale().getMessage("command.commandspy.deny")
|
||||||
.processPlaceholder("player", player.getName())
|
.processPlaceholder("player", player.getName())
|
||||||
.processPlaceholder("command", StringEscapeUtils.escapeJava(command))
|
.processPlaceholder("command", command)
|
||||||
.sendPrefixedMessage(pl);
|
.sendPrefixedMessage(pl);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user