Clarify destroy_blocks config option

This commit is contained in:
DBotThePony 2023-07-06 12:48:32 +07:00
parent 18f0f833f3
commit e2b340ceaf
Signed by: DBot
GPG Key ID: DCC23B5715498507
2 changed files with 3 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class BlackHoleBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Mattery
var iterations = 0 var iterations = 0
while (iterations < ITERATIONS && sphereIterator!!.hasNext()) { while (iterations < ITERATIONS && sphereIterator.hasNext()) {
iterations++ iterations++
val pos = sphereIterator.next() + blockPos val pos = sphereIterator.next() + blockPos

View File

@ -54,6 +54,8 @@ object ServerConfig : AbstractConfig("misc") {
val DESTROY_BLOCKS: Boolean by builder val DESTROY_BLOCKS: Boolean by builder
.comment("Whenever singularities should destroy blocks") .comment("Whenever singularities should destroy blocks")
.comment("Keep in mind that mobs behind blocks can cause serious server lag")
.comment("when trying to reach singularity")
.define("DESTROY_BLOCKS", true) .define("DESTROY_BLOCKS", true)
} }