mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +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);
|
||||
|
||||
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
|
||||
if (simpleChat.playerHasPlayerIgnored(onlinePlayer, player)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
simpleChat.getAudiences().player(onlinePlayer).sendMessage(component);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user