mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
sheep will eat grass now
This commit is contained in:
parent
4a58ac2ad8
commit
0d1fb47898
6 changed files with 22 additions and 12 deletions
|
|
@ -7,6 +7,12 @@ class EntityEventPacket extends RakNetDataPacket{
|
|||
const ENTITY_DAMAGE = 2;
|
||||
const ENTITY_DEAD = 3;
|
||||
const ENTITY_ANIM_10 = 10;
|
||||
|
||||
public function __construct($eid = null, $event = null){
|
||||
$this->eid = $eid;
|
||||
$this->event = $event;
|
||||
}
|
||||
|
||||
public function pid(){
|
||||
return ProtocolInfo::ENTITY_EVENT_PACKET;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue