mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Move Attribute and Effect init calls to Entity::init()
since entities are dependent on these, they should be here.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user