Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
GenisysPro
GenisysPro
Commits
e52d41c5
Commit
e52d41c5
authored
Sep 01, 2017
by
CortexPE
Committed by
GitHub
Sep 01, 2017
Browse files
Merge pull request #838 from EmreTr1/patch-13
Added LevelSounds coming from client
parents
4606dcd8
5defdf30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/pocketmine/Player.php
src/pocketmine/Player.php
+3
-0
No files found.
src/pocketmine/Player.php
View file @
e52d41c5
...
...
@@ -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
(
$packet
->
x
>>
4
,
$packet
->
z
>>
4
,
$packet
);
break
;
case
ProtocolInfo
::
PLAYER_INPUT_PACKET
:
break
;
case
ProtocolInfo
::
LOGIN_PACKET
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment