Merge CommonCore Master
Dieser Commit ist enthalten in:
Ursprung
f4099ae2b1
Commit
2cb2e73030
@ -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")!!
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren