diff --git a/common/src/main/kotlin/quaedam/projection/swarm/ProjectedPersonEntity.kt b/common/src/main/kotlin/quaedam/projection/swarm/ProjectedPersonEntity.kt index 7833966..6f6cca7 100644 --- a/common/src/main/kotlin/quaedam/projection/swarm/ProjectedPersonEntity.kt +++ b/common/src/main/kotlin/quaedam/projection/swarm/ProjectedPersonEntity.kt @@ -64,6 +64,10 @@ class ProjectedPersonEntity(entityType: EntityType, level: Le } + init { + setCanPickUpLoot(true) + } + override fun finalizeSpawn( serverLevelAccessor: ServerLevelAccessor, difficultyInstance: DifficultyInstance, @@ -139,6 +143,7 @@ class ProjectedPersonEntity(entityType: EntityType, level: Le super.readAdditionalSaveData(tag) shapeTag = tag.getCompound(KEY_ENTITY_SHAPE) readInventoryFromTag(tag) + setCanPickUpLoot(true) } override fun shouldShowName() = true