Skip to content

Commit

Permalink
Fixed json bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LudoCrypt committed Jul 24, 2022
1 parent 1a2d2dc commit c2133b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
});
}
Expand Down

0 comments on commit c2133b8

Please sign in to comment.