Move Attribute and Effect init calls to Entity::init()

since entities are dependent on these, they should be here.
This commit is contained in:
Dylan K. Taylor
2018-03-02 10:05:50 +00:00
parent 9d018e8d9e
commit fa6d44ea9e
2 changed files with 4 additions and 4 deletions

View File

@ -238,6 +238,9 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
Entity::registerEntity(Zombie::class, false, ['Zombie', 'minecraft:zombie']);
Entity::registerEntity(Human::class, true);
Attribute::init();
Effect::init();
}