diff --git a/gradle.properties b/gradle.properties index 2d9f1e7..f96c586 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,6 +8,6 @@ satin_version=1.8.0 sodium_version=mc1.19-0.4.2 iris_version=1.19.x-v1.2.5 -mod_version = 6.2.0 +mod_version = 6.2.1 maven_group = net.ludocrypt archives_base_name = limlib \ No newline at end of file diff --git a/src/main/java/net/ludocrypt/limlib/mixin/client/render/model/JsonUnbakedModelDeserializerMixin.java b/src/main/java/net/ludocrypt/limlib/mixin/client/render/model/JsonUnbakedModelDeserializerMixin.java index 6234aef..6bb3c69 100644 --- a/src/main/java/net/ludocrypt/limlib/mixin/client/render/model/JsonUnbakedModelDeserializerMixin.java +++ b/src/main/java/net/ludocrypt/limlib/mixin/client/render/model/JsonUnbakedModelDeserializerMixin.java @@ -30,8 +30,7 @@ public abstract class JsonUnbakedModelDeserializerMixin { LimlibRendering.LIMINAL_QUAD_RENDERER.getEntrySet().forEach((entry) -> { JsonObject limlibExtra = jsonObject.get("limlib_extra").getAsJsonObject(); if (limlibExtra.has(entry.getKey().getValue().toString())) { - JsonObject renderer = limlibExtra.get(entry.getKey().getValue().toString()).getAsJsonObject(); - map.put(entry.getKey().getValue(), new ModelIdentifier(renderer.getAsString())); + map.put(entry.getKey().getValue(), new ModelIdentifier(limlibExtra.get(entry.getKey().getValue().toString()).getAsString())); } }); }