LivingEntity: Default health is 1.0

As per https://wiki.vg/Entity_metadata#Living_Entity
This commit is contained in:
ORelio 2020-08-14 20:49:45 +02:00 committed by GitHub
parent fe59633cd6
commit 888297dd4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ namespace MinecraftClient.Mapping
this.ID = ID;
this.Type = type;
this.Location = location;
this.Health = 0;
this.Health = 1.0;
}
/// <summary>
/// Create a new entity based on Entity ID, Entity Type, location, name and UUID
@ -66,7 +66,7 @@ namespace MinecraftClient.Mapping
this.Location = location;
this.UUID = uuid;
this.Name = name;
this.Health = 0;
this.Health = 1.0;
}
}
}