Skip to content

Commit

Permalink
fix obj loader
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Jan 30, 2024
1 parent 3750940 commit 1e3b941
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private static IUnbakedGeometry<?> deserializeGeometry(JsonDeserializationContex
if (loaderId == null)
return null;

ResourceLocation name = new ResourceLocation(GsonHelper.getAsString(object, "loader"));
ResourceLocation name = new ResourceLocation(loaderId);
IGeometryLoader<?> loader = GeometryLoaderManager.get(name);
if (loader == null) {
if (!GeometryLoaderManager.KNOWN_MISSING_LOADERS.contains(name)) {
Expand Down

0 comments on commit 1e3b941

Please sign in to comment.