mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixed closestPlayerEID being not in entityList
This commit is contained in:
parent
0022bfb321
commit
236f641d6c
6 changed files with 12 additions and 6 deletions
|
|
@ -670,8 +670,9 @@ class Level{
|
|||
}
|
||||
|
||||
public function addBlockToSendQueue($x, $y, $z, $id, $meta){
|
||||
if(!$this->forceDisableBlockQueue)
|
||||
if(!$this->forceDisableBlockQueue){
|
||||
$this->queuedBlockUpdates["$x $y $z"] = [$x, $y, $z, $id, $meta];
|
||||
}
|
||||
}
|
||||
|
||||
public function setBlock(Vector3 $pos, Block $block, $update = true, $tiles = false, $direct = false){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue