From e5e87c93590700739362f04c24843b54dbb10bfe Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Fri, 28 Jun 2013 07:44:00 +0200 Subject: [PATCH] Ooops. Missed out the recipient limits when re-deobfuscating. --- .../integration/herochat/FactionsChannelAbstract.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/massivecraft/factions/integration/herochat/FactionsChannelAbstract.java b/src/com/massivecraft/factions/integration/herochat/FactionsChannelAbstract.java index 7354f7aa..2c9449bf 100644 --- a/src/com/massivecraft/factions/integration/herochat/FactionsChannelAbstract.java +++ b/src/com/massivecraft/factions/integration/herochat/FactionsChannelAbstract.java @@ -1,6 +1,5 @@ package com.massivecraft.factions.integration.herochat; -import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; @@ -252,7 +251,9 @@ public abstract class FactionsChannelAbstract implements Channel String format = this.applyFormat(event.getFormat(), event.getBukkitFormat(), player); Chatter sender = Herochat.getChatterManager().getChatter(player); - Set recipients = new HashSet(Arrays.asList(Bukkit.getOnlinePlayers())); + + // NOTE: This line is not standard deobfuscation. It's altered to achieve the recipient limitations. + Set recipients = this.getRecipients(player); this.trimRecipients(recipients, sender); String msg = String.format(format, new Object[] { player.getDisplayName(), event.getMessage() });