diff options
| author | mat <git@matdoes.dev> | 2025-01-11 04:35:10 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-01-11 04:35:10 +0000 |
| commit | e03101a7b76c4fa27f2a39d1b5aeef3738d48427 (patch) | |
| tree | 8b1cd5d516afd2792f5ca6eee596d4241d865f4f /azalea-entity | |
| parent | 31d0ac75684c0db09ddbc1ee9e7522ffd199d713 (diff) | |
| download | azalea-drasl-e03101a7b76c4fa27f2a39d1b5aeef3738d48427.tar.xz | |
dead entities cannot be revived
Diffstat (limited to 'azalea-entity')
| -rw-r--r-- | azalea-entity/src/plugin/mod.rs | 4 |
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 { |
