Command Targeting overhaul fixes

This commit is contained in:
AnimeGitB
2022-05-05 14:33:08 +09:30
committed by Melledy
parent 0c715f0856
commit 2cfaeac6bc
13 changed files with 78 additions and 54 deletions

View File

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