From fae0dcc6859a5371c8de8281d371c7a399cb3846 Mon Sep 17 00:00:00 2001 From: MysticKoko <132279944+MysticKoko@users.noreply.github.com> Date: Fri, 20 Dec 2024 06:33:55 +0200 Subject: [PATCH] Cleanup --- .../dev/hybridlabs/aquatic/block/FloatingSargassumBlock.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/hybridlabs/aquatic/block/FloatingSargassumBlock.kt b/src/main/kotlin/dev/hybridlabs/aquatic/block/FloatingSargassumBlock.kt index 0fdd5699..e15cb47d 100644 --- a/src/main/kotlin/dev/hybridlabs/aquatic/block/FloatingSargassumBlock.kt +++ b/src/main/kotlin/dev/hybridlabs/aquatic/block/FloatingSargassumBlock.kt @@ -9,6 +9,7 @@ import net.minecraft.item.ItemPlacementContext import net.minecraft.server.world.ServerWorld import net.minecraft.state.StateManager import net.minecraft.state.property.Properties +import net.minecraft.state.property.Properties.WATERLOGGED import net.minecraft.util.math.BlockPos import net.minecraft.util.math.Direction import net.minecraft.util.math.Vec3d @@ -21,7 +22,7 @@ import net.minecraft.world.WorldView @Suppress("OVERRIDE_DEPRECATION", "DEPRECATION") class FloatingSargassumBlock(settings: Settings) : PlantBlock(settings), Waterloggable { init { - defaultState = defaultState.with(Properties.WATERLOGGED, true) + defaultState = defaultState.with(WATERLOGGED, true) } override fun canPlaceAt(state: BlockState, world: WorldView, pos: BlockPos): Boolean {