mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-14 15:26:54 +01:00
Allow auto-complete for 'p'
This commit is contained in:
parent
9fa4ae73bf
commit
718cbb7b33
@ -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 New Issue
Block a user