Fix a memory leak :(
This commit is contained in:
parent
56902b8aff
commit
aea49bfc43
@ -141,6 +141,7 @@ public class DisguiseUtilities {
|
|||||||
// System.out.print("Cannot set more than one " + TargetType.SHOW_TO_EVERYONE_BUT_THESE_PLAYERS
|
// System.out.print("Cannot set more than one " + TargetType.SHOW_TO_EVERYONE_BUT_THESE_PLAYERS
|
||||||
// + " on a entity. Removed the old disguise.");
|
// + " on a entity. Removed the old disguise.");
|
||||||
|
|
||||||
|
d.removeDisguise();
|
||||||
disguiseItel.remove();
|
disguiseItel.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user