Commit e52d41c5 authored by CortexPE's avatar CortexPE Committed by GitHub
Browse files

Merge pull request #838 from EmreTr1/patch-13

Added LevelSounds coming from client
parents 4606dcd8 5defdf30
...@@ -2377,6 +2377,9 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade ...@@ -2377,6 +2377,9 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
} }
switch($packet::NETWORK_ID){ switch($packet::NETWORK_ID){
case ProtocolInfo::LEVEL_SOUND_EVENT_PACKET:
$this->level->addChunkPacket($packet->x >> 4, $packet->z >> 4, $packet);
break;
case ProtocolInfo::PLAYER_INPUT_PACKET: case ProtocolInfo::PLAYER_INPUT_PACKET:
break; break;
case ProtocolInfo::LOGIN_PACKET: 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