diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/server/world/ServerWorld.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/server/world/ServerWorld.kt index cb51ba15..e6282747 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/server/world/ServerWorld.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/server/world/ServerWorld.kt @@ -196,7 +196,10 @@ class ServerWorld private constructor( for ((pos, chunk, roots) in actualPositions) { for (root in roots) { - toDamageEntities.computeIfAbsent(root, Object2ObjectFunction { ObjectArraySet() }).add(pos) + val posList = toDamageEntities.computeIfAbsent(root, Object2ObjectFunction { ObjectArraySet() }) + posList.add(pos) + posList.addAll(root.roots) + posList.add(root.tilePosition) } if (!isBackground) {