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