mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Merge branch 'master' into translate
This commit is contained in:
commit
f4bc7ef3a4
1 changed files with 3 additions and 2 deletions
|
@ -194,6 +194,9 @@ public class DisguiseParser {
|
|||
return perm;
|
||||
}
|
||||
|
||||
if (name.equalsIgnoreCase("p"))
|
||||
return getDisguisePerm("player");
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -500,8 +503,6 @@ public class DisguiseParser {
|
|||
|
||||
if (customDisguise != null) {
|
||||
disguise = customDisguise.getValue().clone();
|
||||
} else if (args[0].equalsIgnoreCase("p")) {
|
||||
disguisePerm = new DisguisePerm(DisguiseType.PLAYER);
|
||||
}
|
||||
|
||||
if (disguisePerm == null) {
|
||||
|
|
Loading…
Reference in a new issue