fix: all projected person are removed
This commit is contained in:
parent
c3e8a211ad
commit
7cd6fb11a7
@ -119,7 +119,7 @@ class ProjectedPersonEntity(entityType: EntityType<out PathfinderMob>, level: Le
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun checkProjectionEffect() =
|
private fun checkProjectionEffect() =
|
||||||
Projector.findNearbyProjections(level(), blockPosition(), SwarmProjection.effect.get()).isEmpty()
|
Projector.findNearbyProjections(level(), blockPosition(), SwarmProjection.effect.get()).isNotEmpty()
|
||||||
|
|
||||||
override fun checkDespawn() {
|
override fun checkDespawn() {
|
||||||
super.checkDespawn()
|
super.checkDespawn()
|
||||||
|
Loading…
Reference in New Issue
Block a user