From 897260e9c46b81f83e64aa08df20ed646054e6af Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Mon, 10 Oct 2022 18:46:46 +0700 Subject: [PATCH] remove leftover code --- .../mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt index e89c87820..cbda85067 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/blackhole/BlackHoleBlockEntity.kt @@ -59,11 +59,6 @@ class BlackHoleBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Synchro gravitationStrength = sqrt(massForDiv.div(BASELINE_MASS).toDouble()).coerceAtMost(20.0).coerceAtLeast(0.2) - val level = level - - if (level != null && !level.isClientSide && !suppressUpdates) - level.sendBlockUpdated(blockPos, blockState, blockState, Block.UPDATE_CLIENTS) - affectedBounds = BoundingBox( (-30 * gravitationStrength).toInt(), (-30 * gravitationStrength).toInt(),