fixed critical bug

This commit is contained in:
GameHerobrine 2022-10-17 18:30:01 +03:00
parent 024e9ed504
commit 9154c0fc3d

View file

@ -1,8 +1,8 @@
<?php
abstract class Living extends Entity implements Damageable, Pathfindable{
public function __construct($level, $eid, $class){
parent::__construct($level, $eid, $class);
public function __construct(Level $level, $eid, $class, $type = 0, $data = array()){
parent::__construct($level, $eid, $class, $type, $data);
$this->canBeAttacked = true;
}