Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazkii committed Apr 9, 2024
1 parent 95608e7 commit daab889
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/violetmoon/zeta/block/ZetaStairsBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ public boolean doesConditionApply() {
@Nullable
@Override
public float[] getBeaconColorMultiplierZeta(BlockState state, LevelReader world, BlockPos pos, BlockPos beaconPos) {
return parent.getModule().zeta.blockExtensions.get(state).getBeaconColorMultiplierZeta(state, world, pos, beaconPos);
BlockState parentState = parent.getBlock().defaultBlockState();
return parent.getModule().zeta.blockExtensions.get(parentState).getBeaconColorMultiplierZeta(state, world, pos, beaconPos);
}

@Override
Expand Down

0 comments on commit daab889

Please sign in to comment.