From f94748afa5fd267b66c6f25fa602756f88a74191 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 29 May 2014 22:16:04 +1200 Subject: [PATCH] Yeah. Fix the memory leak plox --- src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 230adc65..449549ac 100644 --- a/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -141,8 +141,8 @@ public class DisguiseUtilities { // System.out.print("Cannot set more than one " + TargetType.SHOW_TO_EVERYONE_BUT_THESE_PLAYERS // + " on a entity. Removed the old disguise."); - d.removeDisguise(); disguiseItel.remove(); + d.removeDisguise(); } } }