From 2e6a1efb47bf3e5110d7f6a3ed9341f972fd0852 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Wed, 5 Apr 2023 14:12:59 -0500 Subject: [PATCH] fix issue with BanBroadcasting --- Plugins/ScriptPlugins/BanBroadcasting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/ScriptPlugins/BanBroadcasting.js b/Plugins/ScriptPlugins/BanBroadcasting.js index c18e49be9..24f5b2850 100644 --- a/Plugins/ScriptPlugins/BanBroadcasting.js +++ b/Plugins/ScriptPlugins/BanBroadcasting.js @@ -15,7 +15,7 @@ const plugin = { manager: null, onClientPenalty: function (penaltyEvent) { - if (!this.enableBroadcastBans) { + if (!this.enableBroadcastBans || penaltyEvent.penalty.type !== 5) { return; }