mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
better bed head block detection, fixed bonemeal not decrementing from slot when used, fixed players seeing teleport to -256,128,-256 when dying
This commit is contained in:
parent
2f6e2ffcab
commit
6af453dcc3
12 changed files with 15 additions and 24 deletions
|
|
@ -1724,7 +1724,7 @@ class Entity extends Position
|
|||
$pk->yaw = 0;
|
||||
$pk->pitch = 0;
|
||||
foreach($this->level->players as $player){
|
||||
if($player->hasEntity($this)) $player->entityQueueDataPacket(clone $pk);
|
||||
if($player->hasEntity($this) && $player != $this->player) $player->entityQueueDataPacket(clone $pk);
|
||||
}
|
||||
}else{
|
||||
$pk = new EntityEventPacket;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue