Skip to content

Commit

Permalink
Fix eyecandy pose not copied
Browse files Browse the repository at this point in the history
  • Loading branch information
zbx1425 committed Sep 10, 2023
1 parent 8fc17bb commit 3a6972a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void render(BlockEyeCandy.BlockEntityEyeCandy blockEntity, float f, @NotN
if (world == null) return;

int lightToUse = blockEntity.fullLight ? LightTexture.pack(15, 15) : light;
Matrix4f candyPose = new Matrix4f(matrices.last().pose());
Matrix4f candyPose = new Matrix4f(matrices.last().pose()).copy();

EyeCandyProperties prop = EyeCandyRegistry.getProperty(blockEntity.prefabId);
if (prop == null || RailRenderDispatcher.isHoldingBrush) {
Expand Down

0 comments on commit 3a6972a

Please sign in to comment.