mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-12-05 08:35:39 -05:00
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:
+4
@@ -7,4 +7,8 @@ public record CommandContext(
|
||||
String[] args,
|
||||
CommandSource source
|
||||
) {
|
||||
@Override
|
||||
public String[] args() {
|
||||
return args.clone();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user