This commit is contained in:
Shoghi Cervantes 2014-02-27 00:14:05 +01:00
parent 103d0bf2ea
commit 9acc867a94
3 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ abstract class ProtocolInfo{
const ADD_PAINTING_PACKET = 0x99;
const EXPLODE_PACKET = 0x9a;
const LEVEL_EVENT_PACKET = 0x9b;
const Tile::EVENT_PACKET = 0x9c;
const TILE_EVENT_PACKET = 0x9c;
const ENTITY_EVENT_PACKET = 0x9d;
const REQUEST_CHUNK_PACKET = 0x9e;
const CHUNK_DATA_PACKET = 0x9f;

View File

@ -27,7 +27,7 @@ class TileEventPacket extends RakNetDataPacket{
public $case2;
public function pid(){
return ProtocolInfo::Tile::EVENT_PACKET;
return ProtocolInfo::TILE_EVENT_PACKET;
}
public function decode(){

View File

@ -268,7 +268,7 @@ class RakNetParser{
case ProtocolInfo::LEVEL_EVENT_PACKET:
$data = new LevelEventPacket;
break;
case ProtocolInfo::Tile::EVENT_PACKET:
case ProtocolInfo::TILE_EVENT_PACKET:
$data = new TileEventPacket;
break;
case ProtocolInfo::ENTITY_EVENT_PACKET: