mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
fixed player posiiton on bed, hopefully fixed players not receiving packets sometimes
This commit is contained in:
parent
f93aa2601a
commit
4c072e91cd
4 changed files with 19 additions and 9 deletions
|
|
@ -97,7 +97,7 @@ class Explosion{
|
|||
$pk->radius = $this->size;
|
||||
$pk->records = []; //ExplodePacket doesnt seem to use the records provided by this packet, so no need to send more data
|
||||
foreach ($this->level->players as $player){
|
||||
$player->blockQueueDataPacket($pk);
|
||||
$player->blockQueueDataPacket(clone $pk);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -214,7 +214,7 @@ class Explosion{
|
|||
$pk->radius = $this->size;
|
||||
$pk->records = []; //ExplodePacket doesnt seem to use the records provided by this packet, so no need to send more data
|
||||
foreach ($this->level->players as $player){
|
||||
$player->blockQueueDataPacket($pk);
|
||||
$player->blockQueueDataPacket(clone $pk);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue