Merge CommonCore Master

Dieser Commit ist enthalten in:
Chaoscaot 2023-04-10 13:05:37 +02:00
Ursprung f4099ae2b1
Commit 2cb2e73030

Datei anzeigen

@ -32,7 +32,11 @@ fun loadSchematicTypes(tmpTypes: MutableList<SchematicType>?, tmpFromDB: Mutable
val config: YamlConfiguration = YamlConfiguration.loadConfiguration(configFile)
if (!config.isConfigurationSection("Schematic")) continue
val type: String = config.getString("Schematic.Type")!!
val shortcut: String = config.getString("Schematic.Shortcut")!!
val shortcut = config.getString("Schematic.Shortcut")
if (shortcut == null) {
println("No shortcut for $type")
continue
}
if (tmpFromDB!!.containsKey(type.lowercase(Locale.getDefault()))) continue
var checktype: SchematicType? = null
val material: String = config.getString("Schematic.Material", "STONE_BUTTON")!!