From 4252a53e1b3aefeb3e5c57cd2beeff3a546804c4 Mon Sep 17 00:00:00 2001 From: Vretu <82831707+Vretu-Dev@users.noreply.github.com> Date: Wed, 25 Sep 2024 15:58:36 +0200 Subject: [PATCH] 1.0.4 Fix issue with NewUpdateFixes --- AdrenalinRush/AdrenalinRush.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/AdrenalinRush/AdrenalinRush.cs b/AdrenalinRush/AdrenalinRush.cs index 4b0b196..584b887 100644 --- a/AdrenalinRush/AdrenalinRush.cs +++ b/AdrenalinRush/AdrenalinRush.cs @@ -14,7 +14,7 @@ public class AdrenalinRush : Plugin public override string Name => "Adrenalin Rush"; public override string Author => "Vretu"; public override string Prefix { get; } = "AR"; - public override Version Version => new Version(1, 0, 3); + public override Version Version => new Version(1, 0, 4); public override Version RequiredExiledVersion { get; } = new Version(8, 9, 8); public override void OnEnabled() @@ -37,14 +37,6 @@ private void OnUsedItem(UsedItemEventArgs ev) Timing.RunCoroutine(ApplySmoothBoost(ev.Player)); } } - else if (ev.Item.Type == ItemType.SCP207) - { - // Jeśli gracz ma efekt Adrenaliny, usuń go zanim nałożony zostanie SCP-207 - if (ev.Player.IsEffectActive()) - { - ev.Player.DisableEffect(EffectType.MovementBoost); - } - } } private IEnumerator ApplySmoothBoost(Player player) {