Improve check

This commit is contained in:
Cola
2024-03-03 17:25:33 +11:00
parent 00b77a71b3
commit e11ef3fcf8

View File

@@ -65,10 +65,7 @@ public class AreaReinforce extends BaseCommand {
CitadelUtility.sendAndLog(p, ChatColor.RED, "One of the arguments you provided was not a number");
return;
}
boolean skipReins = false;
if (skipReinforcements.equalsIgnoreCase("true")) {
skipReins = true;
}
boolean skipReins = skipReinforcements.equalsIgnoreCase("true");
int count = 0;
for (int x = xMin; x <= xMax; x++) {
for (int y = yMin; y <= yMax; y++) {