diff --git a/common/src/main/kotlin/quaedam/projection/swarm/ProjectedPersonEntity.kt b/common/src/main/kotlin/quaedam/projection/swarm/ProjectedPersonEntity.kt index f50f9ab..03e5aa4 100644 --- a/common/src/main/kotlin/quaedam/projection/swarm/ProjectedPersonEntity.kt +++ b/common/src/main/kotlin/quaedam/projection/swarm/ProjectedPersonEntity.kt @@ -6,6 +6,7 @@ import dev.architectury.registry.level.entity.EntityAttributeRegistry import net.fabricmc.api.EnvType import net.minecraft.nbt.CompoundTag import net.minecraft.network.chat.Component +import net.minecraft.network.protocol.game.DebugPackets import net.minecraft.network.syncher.EntityDataAccessor import net.minecraft.network.syncher.EntityDataSerializers import net.minecraft.network.syncher.SynchedEntityData @@ -136,4 +137,11 @@ class ProjectedPersonEntity(entityType: EntityType, level: Le InventoryCarrier.pickUpItem(this, this, item) } + override fun sendDebugPackets() { + super.sendDebugPackets() + DebugPackets.sendEntityBrain(this) + } + + override fun removeWhenFarAway(d: Double) = false + } \ No newline at end of file