Skip to content

Commit

Permalink
Rename some variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
WildfireRomeo committed Dec 9, 2024
1 parent 0511d26 commit 5412201
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/wildfire/render/GenderLayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsume
if(isChristmas && entityConfig instanceof PlayerConfig plrConfig && plrConfig.hasHolidayThemes()) {
try {
int overlay = LivingEntityRenderer.getOverlay(state, 0);
RenderLayer breastRenderType = RenderLayer.getEntityTranslucent(Identifier.of(WildfireGender.MODID, "textures/santa_hat.png"));
if (breastRenderType == null) return; // only render if the player is visible in some capacity
VertexConsumer vertexConsumer = vertexConsumerProvider.getBuffer(breastRenderType);
RenderLayer hatRenderType = RenderLayer.getEntityTranslucent(Identifier.of(WildfireGender.MODID, "textures/santa_hat.png"));
if (hatRenderType == null) return;
VertexConsumer vertexConsumer = vertexConsumerProvider.getBuffer(hatRenderType);

if (state.baby) {
matrixStack.scale(state.ageScale, state.ageScale, state.ageScale);
Expand Down

0 comments on commit 5412201

Please sign in to comment.