Send local Anticheat messages regardless of preference

This commit is contained in:
cnr 2016-08-18 01:54:25 -05:00
parent 78fe41a8af
commit 08e1b765f7

View File

@ -187,7 +187,7 @@ public class AntiHack extends MiniPlugin
{
((CraftPlayer) player).getHandle().sendMessage(getDetailedMessage(violation));
} else if (Managers.get(PreferencesManager.class).Get(player).ShowMacReports && _clientManager.Get(player).GetRank().has(Rank.HELPER))
} else if (_clientManager.Get(player).GetRank().has(Rank.HELPER) && (violation.getOriginatingServer().equals(_thisServer) || Managers.get(PreferencesManager.class).Get(player).ShowMacReports))
{
((CraftPlayer) player).getHandle().sendMessage(component);
}