mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-10 09:21:28 +01:00
Setting default entity BoundingBox from EntityType data
This commit is contained in:
parent
bbe143520e
commit
692dcfed4c
@ -146,7 +146,7 @@ public abstract class Entity implements Viewable, EventHandler, DataContainer, P
|
||||
|
||||
this.entityMeta = entityType.getMetaConstructor().apply(this, this.metadata);
|
||||
|
||||
setBoundingBox(0, 0, 0);
|
||||
setBoundingBox(entityType.getWidth(), entityType.getHeight(), entityType.getWidth());
|
||||
|
||||
setAutoViewable(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user