From c00502d91ff4244a25e3cc710d8f9951e64d4b09 Mon Sep 17 00:00:00 2001 From: samczsun Date: Fri, 30 Sep 2016 19:35:23 -0400 Subject: [PATCH] Fix memory leak in WinEffectPodium --- .../mineplex/core/gadget/gadgets/wineffect/WinEffectPodium.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/wineffect/WinEffectPodium.java b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/wineffect/WinEffectPodium.java index 34b7077e4..3dc52ff95 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/wineffect/WinEffectPodium.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/gadget/gadgets/wineffect/WinEffectPodium.java @@ -78,6 +78,7 @@ public class WinEffectPodium extends WinEffectGadget @Override public void finish() { + Manager.getDisguiseManager().undisguise(_npc); _npc = null; }