Fix command arg rewriting

This commit is contained in:
Luck 2020-05-12 16:35:43 +01:00
parent b88819b9bb
commit 84bc4217de
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -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);
}
}