remove leftover code
This commit is contained in:
parent
6f9c9edac1
commit
897260e9c4
@ -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)
|
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(
|
affectedBounds = BoundingBox(
|
||||||
(-30 * gravitationStrength).toInt(),
|
(-30 * gravitationStrength).toInt(),
|
||||||
(-30 * gravitationStrength).toInt(),
|
(-30 * gravitationStrength).toInt(),
|
||||||
|
Loading…
Reference in New Issue
Block a user