From 8982d5ef6ef2082fdb6dc337662f30707334a39a Mon Sep 17 00:00:00 2001 From: Pepich Date: Wed, 1 Feb 2017 18:08:31 +0100 Subject: [PATCH] Made broadcast actually apply the prefix --- src/com/redstoner/misc/Utils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/redstoner/misc/Utils.java b/src/com/redstoner/misc/Utils.java index 534a1ad..50c06f0 100644 --- a/src/com/redstoner/misc/Utils.java +++ b/src/com/redstoner/misc/Utils.java @@ -110,7 +110,7 @@ public final class Utils if (filter == null) { for (Player p : Bukkit.getOnlinePlayers()) - p.sendMessage(message); + p.sendMessage(prefix + message); return Bukkit.getOnlinePlayers().size(); } else @@ -119,7 +119,7 @@ public final class Utils for (Player p : Bukkit.getOnlinePlayers()) if (filter.sendTo(p)) { - p.sendMessage(message); + p.sendMessage(prefix + message); count++; } return count;