diff --git a/src/main/java/com/ferreusveritas/dynamictrees/block/rooty/AerialRootsSoilProperties.java b/src/main/java/com/ferreusveritas/dynamictrees/block/rooty/AerialRootsSoilProperties.java index ab7c65d82..3d409193b 100644 --- a/src/main/java/com/ferreusveritas/dynamictrees/block/rooty/AerialRootsSoilProperties.java +++ b/src/main/java/com/ferreusveritas/dynamictrees/block/rooty/AerialRootsSoilProperties.java @@ -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