mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-09-22 00:16:30 +00:00
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 a new issue