mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixed critical bug
This commit is contained in:
parent
024e9ed504
commit
9154c0fc3d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue