Don't add a period for custom blacklist messages.

Fixes WORLDGUARD-3472
This commit is contained in:
Wizjany 2015-05-02 22:38:42 -04:00
parent 3258bff2d1
commit 8ddb7d4b99

View File

@ -44,7 +44,7 @@ protected ActionResult applyNonRepeated(BlacklistEvent event, boolean silent) {
if (event.getPlayer() != null) { if (event.getPlayer() != null) {
if (message != null) { if (message != null) {
event.getPlayer().printRaw(ChatColor.YELLOW + String.format(message, event.getTarget().getFriendlyName()) + "."); event.getPlayer().printRaw(ChatColor.YELLOW + String.format(message, event.getTarget().getFriendlyName()));
} else { } else {
event.getPlayer().printRaw(ChatColor.YELLOW + "You're not allowed to " + event.getDescription() + " " + event.getPlayer().printRaw(ChatColor.YELLOW + "You're not allowed to " + event.getDescription() + " " +
event.getTarget().getFriendlyName() + "."); event.getTarget().getFriendlyName() + ".");