From 8101f4a71324019b200229fa24b89ad1b9e29f92 Mon Sep 17 00:00:00 2001 From: Ethan Moffat Date: Tue, 13 Sep 2022 00:36:02 -0700 Subject: [PATCH] Add missing return for known potion effects --- EndlessClient/Rendering/Effects/EffectSpriteManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/EndlessClient/Rendering/Effects/EffectSpriteManager.cs b/EndlessClient/Rendering/Effects/EffectSpriteManager.cs index f0c8f5264..cd598ed8d 100644 --- a/EndlessClient/Rendering/Effects/EffectSpriteManager.cs +++ b/EndlessClient/Rendering/Effects/EffectSpriteManager.cs @@ -69,6 +69,7 @@ private IList ResolvePotionEffect(HardCodedPotionEffect effec var retList = _potionEffects[effect]; foreach (var item in retList) item.Restart(); + return new List(retList); } // potion graphics that aren't in the hard-coded list here use the same formula as spell graphics