mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-29 12:37:40 +01:00
Fix command arg rewriting
This commit is contained in:
parent
b88819b9bb
commit
84bc4217de
@ -312,7 +312,7 @@ public class CommandManager {
|
||||
String rewrite = rewrites.apply(arg);
|
||||
if (rewrite != null) {
|
||||
args.remove(i);
|
||||
args.add(0, rewrite);
|
||||
args.add(i, rewrite);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user