Provide a way to remove a custom disguise, fixes #616

This commit is contained in:
libraryaddict 2022-03-10 23:10:56 +13:00
parent c0ac00c9b7
commit cd5df563de

View File

@ -105,6 +105,10 @@ public class DisguiseAPI {
return disguise.getValue();
}
public static void removeCustomDisguise(String disguiseName) {
DisguiseConfig.removeCustomDisguise(disguiseName);
}
public static Disguise constructDisguise(Entity entity) {
return constructDisguise(entity, true, false);
}