Add ErrorLogging for Bugged Schematics

This commit is contained in:
2025-04-26 22:27:53 +02:00
parent e7e1e2d968
commit b1bef4ced5
@@ -154,6 +154,7 @@ fun Route.configureSchematic() {
val fawe = schem.getCompound("Metadata") val fawe = schem.getCompound("Metadata")
.getCompound("WorldEdit") .getCompound("WorldEdit")
.getString("Version") .getString("Version")
.value
if (fawe.equals("2.12.3-SNAPSHOT")) { if (fawe.equals("2.12.3-SNAPSHOT")) {
SWException.log("Schematic with Bugged Version Uploaded", """ SWException.log("Schematic with Bugged Version Uploaded", """