Skip to content

Commit

Permalink
Fixed rendering custom ModelData
Browse files Browse the repository at this point in the history
Resolves #31 #45 #52 #60 #61
  • Loading branch information
Asek3 committed Apr 6, 2022
1 parent 77f53eb commit ac4cd57
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public boolean renderModel(BlockRenderView world, BlockState state, BlockPos pos

boolean rendered = false;

modelData = model.getModelData(world, pos, state, modelData);
if (modelData == null) {
modelData = EmptyModelData.INSTANCE;
}
Expand Down

0 comments on commit ac4cd57

Please sign in to comment.