Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 781b803

Browse files
committed
fix!: double entity
1 parent 96799ac commit 781b803

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/scpsharp/content/facility/site63/piece/SCP173ContainmentRoom.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class SCP173ContainmentRoom : FacilityStructurePiece {
170170
)
171171
}
172172
// Spawn SCP-173
173-
if (entityPos != null) {
173+
if (entityPos != null && entityPos in chunkBox) {
174174
world.spawnEntity(SCP173Entity.TYPE.spawn(world.toServerWorld(), entityPos, SpawnReason.STRUCTURE))
175175
}
176176
}

0 commit comments

Comments
 (0)