mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-09 04:20:26 +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 (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() + ".");
|
||||||
|
Loading…
Reference in New Issue
Block a user