mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-19 20:30:01 +08:00
Command Targeting overhaul fixes
This commit is contained in:
committed by
Melledy
Unverified
parent
0c715f0856
commit
2cfaeac6bc
@@ -52,7 +52,7 @@ public final class GiveArtifactCommand implements CommandHandler {
|
||||
int level = 1;
|
||||
try {
|
||||
int last = Integer.parseInt(args.get(args.size()-1));
|
||||
if (last > 0 && last < 21) { // Luckily appendPropIds aren't in the range of [1,20]
|
||||
if (last > 0 && last < 22) { // Luckily appendPropIds aren't in the range of [1,21]
|
||||
level = last;
|
||||
args.remove(args.size()-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user