mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-14 09:56:37 -04:00
fix loading in 1.15
This commit is contained in:
parent
1f3624bbf0
commit
360b3bd47a
@ -47,7 +47,8 @@ object KeyBindingsNames {
|
||||
val CLOSE_CHAT = ResourceLocation("minosoft:close_chat")
|
||||
|
||||
|
||||
val SELECT_HOTBAR_SLOTS = arrayOf(ResourceLocation("minosoft:select_hotbar_slot_1"),
|
||||
val SELECT_HOTBAR_SLOTS = arrayOf(
|
||||
ResourceLocation("minosoft:select_hotbar_slot_1"),
|
||||
ResourceLocation("minosoft:select_hotbar_slot_2"),
|
||||
ResourceLocation("minosoft:select_hotbar_slot_3"),
|
||||
ResourceLocation("minosoft:select_hotbar_slot_4"),
|
||||
|
@ -62,7 +62,7 @@ data class EntityType(
|
||||
|
||||
data["attributes"]?.asJsonObject?.let {
|
||||
for ((attributeResourceLocation, value) in it.entrySet()) {
|
||||
attributes[ResourceLocation.getPathResourceLocation(attributeResourceLocation).fix()] = value.asFloat
|
||||
attributes[ResourceLocation.getResourceLocation(attributeResourceLocation).fix()] = value.asFloat
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user