Commit 49fa5b15 authored by Emre Yavuzyiğit's avatar Emre Yavuzyiğit Committed by GitHub
Browse files

Added LevelSounds coming from client

parent c4f5695a
......@@ -2377,6 +2377,9 @@ 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);
break;
case ProtocolInfo::PLAYER_INPUT_PACKET:
break;
case ProtocolInfo::LOGIN_PACKET:
......
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