mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Added EntityIds interface with constants
This commit is contained in:
@ -27,7 +27,7 @@ use pocketmine\network\mcpe\protocol\AddEntityPacket;
|
||||
use pocketmine\Player;
|
||||
|
||||
class Egg extends Throwable{
|
||||
const NETWORK_ID = 82;
|
||||
const NETWORK_ID = self::EGG;
|
||||
|
||||
public function spawnTo(Player $player){
|
||||
$pk = new AddEntityPacket();
|
||||
|
Reference in New Issue
Block a user