Add ignore support to RP

This commit is contained in:
Draycia committed 2020-07-01 03:15:40 -07:00
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);
}
}