mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-30 22:53:27 +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);
|
String rewrite = rewrites.apply(arg);
|
||||||
if (rewrite != null) {
|
if (rewrite != null) {
|
||||||
args.remove(i);
|
args.remove(i);
|
||||||
args.add(0, rewrite);
|
args.add(i, rewrite);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user