mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-01 14:38:57 +00:00
fix: changed getRecipients to get all online players
This commit is contained in:
1 parent
7eee55cb3f
commit
0fd91fd75a
1 file changed
+1
-1
@@ -70,7 +70,7 @@ public class StandardChannel extends Channel {
|
||||
String format = getFormat(player);
|
||||
|
||||
// Get the list of message recipients.
|
||||
Set<Player> recipients = getRecipients(player, town, nation, channelType, event.getRecipients());
|
||||
Set<Player> recipients = getRecipients(player, town, nation, channelType, new HashSet<>(Bukkit.getOnlinePlayers()));
|
||||
|
||||
// Try sending an alone message if it is called for.
|
||||
trySendingAloneMessage(player, recipients);
|
||||
|
||||
Reference in new issue
Block a user