fix: all projected person are removed

This commit is contained in:
xtex committed 2023-07-02 17:53:25 +08:00
1 parent c3e8a211ad
commit 7cd6fb11a7
1 file changed
+1 -1
@@ -119,7 +119,7 @@ class ProjectedPersonEntity(entityType: EntityType<out PathfinderMob>, level: Le
}
private fun checkProjectionEffect() =
Projector.findNearbyProjections(level(), blockPosition(), SwarmProjection.effect.get()).isEmpty()
Projector.findNearbyProjections(level(), blockPosition(), SwarmProjection.effect.get()).isNotEmpty()
override fun checkDespawn() {
super.checkDespawn()