Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticKoko committed Dec 20, 2024
1 parent 1ef0b86 commit fae0dcc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit fae0dcc

Please sign in to comment.