Skip to content

Commit

Permalink
fix: crash with Cthulhu head for headless familiar
Browse files Browse the repository at this point in the history
Closes #870
  • Loading branch information
klikli-dev committed Dec 23, 2022
1 parent 92efc47 commit 2c6f6dd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,11 @@ public void render(PoseStack pMatrixStack, MultiBufferSource pBuffer, int pPacke
}
}

private static class CthulhuHeadModel extends SkullModel {
private static class CthulhuHeadModel extends SkullModelBase {
protected final ModelPart head;
private final CthulhuFamiliarModel model;

public CthulhuHeadModel(ModelPart part) {
super(part);
this.model = new CthulhuFamiliarModel(part);
this.head = part.getChild("body").getChild("head");
}
Expand Down

0 comments on commit 2c6f6dd

Please sign in to comment.