mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 04:55:37 +01:00
Don't add a period for custom blacklist messages.
Fixes WORLDGUARD-3472
This commit is contained in:
parent
3258bff2d1
commit
8ddb7d4b99
@ -44,7 +44,7 @@ protected ActionResult applyNonRepeated(BlacklistEvent event, boolean silent) {
|
||||
|
||||
if (event.getPlayer() != 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 {
|
||||
event.getPlayer().printRaw(ChatColor.YELLOW + "You're not allowed to " + event.getDescription() + " " +
|
||||
event.getTarget().getFriendlyName() + ".");
|
||||
|
Loading…
Reference in New Issue
Block a user