aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/plugin
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-01-11 04:35:10 +0000
committermat <git@matdoes.dev>2025-01-11 04:35:10 +0000
commite03101a7b76c4fa27f2a39d1b5aeef3738d48427 (patch)
tree8b1cd5d516afd2792f5ca6eee596d4241d865f4f /azalea-entity/src/plugin
parent31d0ac75684c0db09ddbc1ee9e7522ffd199d713 (diff)
downloadazalea-drasl-e03101a7b76c4fa27f2a39d1b5aeef3738d48427.tar.xz
dead entities cannot be revived
Diffstat (limited to 'azalea-entity/src/plugin')
-rw-r--r--azalea-entity/src/plugin/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea-entity/src/plugin/mod.rs b/azalea-entity/src/plugin/mod.rs
index 7624f0ba..52178c7b 100644
--- a/azalea-entity/src/plugin/mod.rs
+++ b/azalea-entity/src/plugin/mod.rs
@@ -78,9 +78,7 @@ fn debug_new_entity(query: Query<(Entity, Option<&LocalEntity>), Added<Minecraft
/// to 0 (or less than 0). This will be present if an entity is doing the death
/// animation.
///
-/// Entities that are dead can not be revived.
-/// TODO: fact check this in-game by setting an entity's health to 0 and then
-/// not 0
+/// Entities that are dead cannot be revived.
pub fn add_dead(mut commands: Commands, query: Query<(Entity, &Health), Changed<Health>>) {
for (entity, health) in query.iter() {
if **health <= 0.0 {