0

Made broadcast actually apply the prefix

This commit is contained in:
Pepich 2017-02-01 18:08:31 +01:00
parent 69c32578c3
commit 8982d5ef6e

View File

@ -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;