mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
Add ignore support to RP
This commit is contained in:
1 parent
3582816208
commit
3ccef01be7
1 file changed
+4
@@ -28,6 +28,10 @@ public class MeCommand extends BaseCommand {
|
|||||||
Component component = MiniMessage.instance().parse(format, "message", message);
|
Component component = MiniMessage.instance().parse(format, "message", message);
|
||||||
|
|
||||||
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
|
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
|
||||||
|
if (simpleChat.playerHasPlayerIgnored(onlinePlayer, player)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
simpleChat.getAudiences().player(onlinePlayer).sendMessage(component);
|
simpleChat.getAudiences().player(onlinePlayer).sendMessage(component);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user