mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Added entity id names
This commit is contained in:
@ -22,6 +22,10 @@
|
||||
namespace pocketmine\entity;
|
||||
|
||||
|
||||
class Spider extends Monster{
|
||||
use pocketmine\nbt\tag\String;
|
||||
|
||||
class Spider extends Monster{
|
||||
protected function initEntity(){
|
||||
$this->namedtag->id = new String("id", "Spider");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user