forked from SteamWar/SteamWar
Add ErrorLogging for Bugged Schematics
This commit is contained in:
@@ -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", """
|
||||||
|
|||||||
Reference in New Issue
Block a user