Fix FallingBlock.php

This commit is contained in:
PEMapModder 2014-10-25 18:15:47 +08:00
parent 8e7077ff4b
commit ee4f416d93

View File

@ -56,7 +56,7 @@ class FallingBlock extends Entity{
}
elseif(isset($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){
@ -166,4 +166,4 @@ class FallingBlock extends Entity{
parent::spawnTo($player);
}
}
}