Refactor handbook generation, remove singular handbook

This commit is contained in:
AnimeGitB
2022-07-30 23:18:39 +09:30
committed by Luke H-W
parent 0994417261
commit e963419956
2 changed files with 36 additions and 181 deletions

View File

@@ -94,11 +94,7 @@ public final class Grasscutter {
boolean exitEarly = false;
for (String arg : args) {
switch (arg.toLowerCase()) {
case "-handbook" -> {
Tools.createGmHandbook();
exitEarly = true;
}
case "-handbooks" -> {
case "-handbook", "-handbooks" -> {
Tools.createGmHandbooks();
exitEarly = true;
}