mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 21:45:35 +00:00
Fix FallingBlock.php
This commit is contained in:
parent
8e7077ff4b
commit
ee4f416d93
@ -56,7 +56,7 @@ class FallingBlock extends Entity{
|
|||||||
}
|
}
|
||||||
elseif(isset($this->namedtag->Tile)){
|
elseif(isset($this->namedtag->Tile)){
|
||||||
$this->blockId = $this->namedtag["Tile"];
|
$this->blockId = $this->namedtag["Tile"];
|
||||||
$this->namedtag["TileID"] = $this->blockId;
|
$this->namedtag["TileID"] = new Int("TileID", $this->blockId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->blockId === 0){
|
if($this->blockId === 0){
|
||||||
@ -166,4 +166,4 @@ class FallingBlock extends Entity{
|
|||||||
|
|
||||||
parent::spawnTo($player);
|
parent::spawnTo($player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user