aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-entity/src/lib.rs')
-rw-r--r--azalea-entity/src/lib.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs
index 1512bbd3..4c0201ce 100644
--- a/azalea-entity/src/lib.rs
+++ b/azalea-entity/src/lib.rs
@@ -449,11 +449,7 @@ impl EntityBundle {
kind: azalea_registry::EntityKind,
world_name: ResourceLocation,
) -> Self {
- // TODO: get correct entity dimensions by having them codegen'd somewhere
- let dimensions = EntityDimensions {
- width: 0.6,
- height: 1.8,
- };
+ let dimensions = EntityDimensions::from(kind);
let eye_height = dimensions.height * 0.85;
Self {