SteamWar/BauSystem2.0
Archiviert
12
0

Fix SkinCommand
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2023-01-12 10:10:49 +01:00
Ursprung 7ce2cb1595
Commit 3975a7cf63

Datei anzeigen

@ -76,8 +76,8 @@ public class SkinCommand extends SWCommand {
} }
String name = String.join(" ", names); String name = String.join(" ", names);
File arenaFile = new File("sections19/custom/" + name + "/" + typeKuerzel + "Arena.schem"); File arenaFile = new File("sections19/" + name + "/" + typeKuerzel + "Arena.schem");
File testblockFile = region.hasType(RegionType.TESTBLOCK) ? new File("sections19/custom/" + name + "/" + typeKuerzel + "Testblock.schem") : null; File testblockFile = region.hasType(RegionType.TESTBLOCK) ? new File("sections19/" + name + "/" + typeKuerzel + "Testblock.schem") : null;
arenaFile.getParentFile().mkdirs(); arenaFile.getParentFile().mkdirs();
if (testblockFile != null) { if (testblockFile != null) {