mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
protocol 27, added player spawn events after death from new protocol, added EntityEvent constants
This commit is contained in:
@ -67,7 +67,7 @@ class Squid extends WaterAnimal implements Ageable{
|
||||
|
||||
$pk = new EntityEventPacket();
|
||||
$pk->eid = $this->getId();
|
||||
$pk->event = 15;
|
||||
$pk->event = EntityEventPacket::SQUID_INK_CLOUD;
|
||||
Server::broadcastPacket($this->hasSpawned, $pk->setChannel(Network::CHANNEL_WORLD_EVENTS));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user