This commit is contained in:
DBotThePony 2025-03-25 13:22:29 +07:00
parent 398bd532f4
commit d08a928e04
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -122,10 +122,10 @@ class BlockPosSet : MutableSet<BlockPos> {
}
override fun isEmpty(): Boolean {
var any = false
var any = true
segments.entries.removeIf { (_, s) ->
any = any || s.isEmpty
any = any && s.isEmpty
s.isEmpty
}