Skip to content

Commit

Permalink
Merge branch 'architectury-1.18.1' into architectury-1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
UnlikePaladin committed Nov 10, 2023
2 parents 40bddfd + cab6018 commit 24b0403
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public void render(ItemStack stack, ModelTransformation.Mode mode, MatrixStack m
boolean glint = stack.hasGlint();

ItemRenderer renderer = MinecraftClient.getInstance().getItemRenderer();
matrices.pop();
matrices.push();
BakedModel lampShadeModel = (bakedModels.get(variant).get(modelParts.get(4))).handlePerspective(mode, matrices);
BakedModel poleModel = (bakedModels.get(variant).get(modelParts.get(2)));
Expand All @@ -65,6 +64,7 @@ public void render(ItemStack stack, ModelTransformation.Mode mode, MatrixStack m
renderer.renderBakedItemModel(lampShadeModel, stack, light, overlay, matrices, consumer);
renderer.renderBakedItemModel(poleModel, stack, light, overlay, matrices, consumer);
renderer.renderBakedItemModel(bulbModel, stack, light, overlay, matrices, consumer);
matrices.pop();
}
}
}

0 comments on commit 24b0403

Please sign in to comment.