Skip to content

Commit

Permalink
fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
supermassimo committed Sep 2, 2024
1 parent acc7edd commit 741ae06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public float getHardness(BlockState state, BlockGetter level, BlockPos pos) {
if (up.getBlock() instanceof BlockWithDynamicHardness upBlock){
hardness = upBlock.getHardness(up, level, pos.above());
}
return hardness * DTConfigs.ROOTY_BLOCK_HARDNESS_MULTIPLIER.get());
return (float)(hardness * DTConfigs.ROOTY_BLOCK_HARDNESS_MULTIPLIER.get());
}

@Override
Expand Down

0 comments on commit 741ae06

Please sign in to comment.