Format code

This commit is contained in:
2026-05-17 10:08:06 +02:00
parent d110df924e
commit 5125453406
152 changed files with 752 additions and 814 deletions
@@ -140,12 +140,13 @@ fun Route.configureSchematic() {
if (schem.size() == 1) schem = schem.first() as CompoundTag
val version = schem.let {
if (it.contains("Materials"))
return@let SchematicFormat.MCEDIT
else if (it.contains("Blocks"))
return@let SchematicFormat.SPONGE_V3
else
return@let SchematicFormat.SPONGE_V2
if (it.contains("Materials")) {
SchematicFormat.MCEDIT
} else if (it.contains("Blocks")) {
SchematicFormat.SPONGE_V3
} else {
SchematicFormat.SPONGE_V2
}
}
if (version == SchematicFormat.SPONGE_V3) {