Changed all Player packets to new network

This commit is contained in:
Shoghi Cervantes
2014-02-07 16:44:10 +01:00
parent eb375be550
commit 95bff304e4
15 changed files with 548 additions and 474 deletions

View File

@ -114,7 +114,7 @@ class Explosion{
$this->level->level->setBlockID($block->x, $block->y, $block->z, 0);
$send[] = new Vector3($block->x - $source->x, $block->y - $source->y, $block->z - $source->z);
}
$server->api->player->broadcastPacket($server->api->player->getAll($this->level), MC_EXPLOSION, array(
$server->api->player->broadcastPacket($server->api->player->getAll($this->level), ProtocolInfo::EXPLOSION_PACKET, array(
"x" => $this->source->x,
"y" => $this->source->y,
"z" => $this->source->z,