Replaced old deprecated calls

This commit is contained in:
Shoghi Cervantes
2015-05-18 15:52:31 +02:00
parent f3a53be117
commit 840690d801
7 changed files with 13 additions and 10 deletions

View File

@ -215,7 +215,7 @@ class Explosion{
$pk->z = $this->source->z;
$pk->radius = $this->size;
$pk->records = $send;
Server::broadcastPacket($this->level->getUsingChunk($source->x >> 4, $source->z >> 4), $pk->setChannel(Network::CHANNEL_BLOCKS));
Server::broadcastPacket($this->level->getChunkPlayers($source->x >> 4, $source->z >> 4), $pk->setChannel(Network::CHANNEL_BLOCKS));
return true;
}