mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-09-21 16:06:30 +00:00
Yeah. Fix the memory leak plox
This commit is contained in:
parent
aea49bfc43
commit
f94748afa5
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue