mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-06-11 05:54:56 +00:00
Provide a way to remove a custom disguise, fixes #616
This commit is contained in:
parent
c0ac00c9b7
commit
cd5df563de
|
@ -105,6 +105,10 @@ public class DisguiseAPI {
|
||||||
return disguise.getValue();
|
return disguise.getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void removeCustomDisguise(String disguiseName) {
|
||||||
|
DisguiseConfig.removeCustomDisguise(disguiseName);
|
||||||
|
}
|
||||||
|
|
||||||
public static Disguise constructDisguise(Entity entity) {
|
public static Disguise constructDisguise(Entity entity) {
|
||||||
return constructDisguise(entity, true, false);
|
return constructDisguise(entity, true, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue