mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-01-30 23:01:50 +01: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
|
||||
// + " on a entity. Removed the old disguise.");
|
||||
|
||||
d.removeDisguise();
|
||||
disguiseItel.remove();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user