From 88c639c1157e4029127ddf84276ecc13db6e20ee Mon Sep 17 00:00:00 2001 From: James Puleo Date: Fri, 2 Dec 2022 13:18:00 -0500 Subject: [PATCH] Whitelist the Mighty Wind (`WindPushed`) buff This is applied by sandstorm events. --- TShockAPI/Bouncer.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TShockAPI/Bouncer.cs b/TShockAPI/Bouncer.cs index 0367268e..3ca61e30 100644 --- a/TShockAPI/Bouncer.cs +++ b/TShockAPI/Bouncer.cs @@ -428,6 +428,12 @@ namespace TShockAPI CanBeAddedWithoutHostile = true, CanOnlyBeAppliedToSender = true }; + PlayerAddBuffWhitelist[BuffID.WindPushed] = new BuffLimit + { + MaxTicks = 2, + CanBeAddedWithoutHostile = true, + CanOnlyBeAppliedToSender = true + }; #endregion Whitelist }