mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-30 22:53:27 +01:00
This commit is contained in:
parent
1d1cd679dd
commit
f9efa15781
@ -350,6 +350,7 @@ public class CommandManager {
|
||||
break;
|
||||
case "i":
|
||||
case "about":
|
||||
case "list":
|
||||
args.remove(2);
|
||||
args.add(2, "info");
|
||||
break;
|
||||
@ -448,7 +449,7 @@ public class CommandManager {
|
||||
boolean lazyInfo = (
|
||||
args.size() >= 4 && (rewriteLastArgument || args.size() >= 5) &&
|
||||
(args.get(2).equalsIgnoreCase("permission") || args.get(2).equalsIgnoreCase("parent") || args.get(2).equalsIgnoreCase("meta")) &&
|
||||
(args.get(3).equalsIgnoreCase("i") || args.get(3).equalsIgnoreCase("about"))
|
||||
(args.get(3).equalsIgnoreCase("i") || args.get(3).equalsIgnoreCase("about") || args.get(3).equalsIgnoreCase("list"))
|
||||
);
|
||||
|
||||
if (lazyInfo) {
|
||||
|
Loading…
Reference in New Issue
Block a user