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