Fix a memory leak :(

This commit is contained in:
libraryaddict 2014-05-29 22:10:34 +12:00
parent 56902b8aff
commit aea49bfc43

View File

@ -141,6 +141,7 @@ 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();
}
}