From 4e26b72cfdfc226837ce2e4f8ad778e9c4179bd7 Mon Sep 17 00:00:00 2001 From: alikindsys Date: Mon, 5 Feb 2024 19:15:53 -0300 Subject: [PATCH] Add linebreak on `blockEntityBy` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lobo Metalúrgico <43734867+LoboMetalurgico@users.noreply.github.com> --- .../br/com/gamemods/minecity/fabric/helpers/WorldAccess.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/fabric/src/main/kotlin/br/com/gamemods/minecity/fabric/helpers/WorldAccess.kt b/platform/fabric/src/main/kotlin/br/com/gamemods/minecity/fabric/helpers/WorldAccess.kt index aa9f2d3..c02fbcd 100644 --- a/platform/fabric/src/main/kotlin/br/com/gamemods/minecity/fabric/helpers/WorldAccess.kt +++ b/platform/fabric/src/main/kotlin/br/com/gamemods/minecity/fabric/helpers/WorldAccess.kt @@ -26,6 +26,7 @@ fun BlockHitResult.blockStateBy(world: World) : BlockState { * **Trivial**: This is a mere convenience extension function. * @param world The world being queried. * @author alikindsys - */fun BlockHitResult.blockEntityBy(world: World) : BlockEntity? { + */ + fun BlockHitResult.blockEntityBy(world: World) : BlockEntity? { return world.getBlockEntity(this.blockPos) } \ No newline at end of file