refactor: mutability bad

yes, I know this is slightly slower, I think it's an acceptable tradeoff in the name of code correctness
This commit is contained in:
Maya Winters
2026-12-04 23:29:44 +08:00
parent ed9a62a732
commit 566352af52
@@ -7,4 +7,8 @@ public record CommandContext(
String[] args,
CommandSource source
) {
@Override
public String[] args() {
return args.clone();
}
}