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 New Issue
Block a user