From 741ae06f19b688bf15272aeb1de1d8e1d989b9d9 Mon Sep 17 00:00:00 2001 From: Max Hyper Date: Mon, 2 Sep 2024 17:24:54 -0300 Subject: [PATCH] fixed syntax --- .../dynamictrees/block/rooty/AerialRootsSoilProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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