fix issue with BanBroadcasting

This commit is contained in:
RaidMax 2023-04-05 14:12:59 -05:00
parent 4442826bcf
commit 2e6a1efb47

View File

@ -15,7 +15,7 @@ const plugin = {
manager: null,
onClientPenalty: function (penaltyEvent) {
if (!this.enableBroadcastBans) {
if (!this.enableBroadcastBans || penaltyEvent.penalty.type !== 5) {
return;
}