Commit 5defdf30 authored by Emre Yavuzyiğit's avatar Emre Yavuzyiğit Committed by GitHub
Browse files

fix sound coords

parent 49fa5b15
......@@ -2378,7 +2378,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
switch($packet::NETWORK_ID){
case ProtocolInfo::LEVEL_SOUND_EVENT_PACKET:
$this->level->addChunkPacket($this->x >> 4, $this->z >> 4, $packet);
$this->level->addChunkPacket($packet->x >> 4, $packet->z >> 4, $packet);
break;
case ProtocolInfo::PLAYER_INPUT_PACKET:
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment