From 88d6dff7cb4a91407e9955aef6b3178d19fd1e73 Mon Sep 17 00:00:00 2001 From: Yusuf Arfan Ismail Date: Sun, 12 Nov 2023 22:03:30 +0000 Subject: [PATCH] spotless --- .../armourandtoolsmod/items/hammer/HammerItem.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/neoforge/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/items/hammer/HammerItem.kt b/neoforge/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/items/hammer/HammerItem.kt index 1e0c7261..ea542db5 100644 --- a/neoforge/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/items/hammer/HammerItem.kt +++ b/neoforge/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/items/hammer/HammerItem.kt @@ -82,10 +82,7 @@ open class HammerItem( return getDestroySpeed(hammerLevel, pState) } - private fun getDestroySpeed( - hammerLevel: HammerLevel, - pState: BlockState - ): Float { + private fun getDestroySpeed(hammerLevel: HammerLevel, pState: BlockState): Float { pState.block return if (pState.`is`(Blocks.COBWEB)) { 15.0f