mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Automatically set Entity / Tile entity save identifiers
This commit is contained in:
@ -63,11 +63,6 @@ class Snowball extends Projectile{
|
||||
return $hasUpdate;
|
||||
}
|
||||
|
||||
protected function initEntity(){
|
||||
$this->namedtag->id = new String("id", "Snowball");
|
||||
parent::initEntity();
|
||||
}
|
||||
|
||||
public function spawnTo(Player $player){
|
||||
$pk = new AddEntityPacket();
|
||||
$pk->type = Snowball::NETWORK_ID;
|
||||
|
Reference in New Issue
Block a user