Correct chest/furnace placement

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-26 19:00:17 +01:00
parent b7af93ca17
commit 941f1479c7
2 changed files with 10 additions and 1 deletions

View File

@ -13,7 +13,6 @@ __Check Milestones [here](https://github.com/shoghicp/PocketMine-MP/issues/miles
## Alpha (full Creative)
- Correct block placement for beds
- Correct chest/furnace placement
## Beta (Survival)
- Random Chunk Updates

View File

@ -388,6 +388,16 @@ class BlockAPI{
$this->updateBlocksAround($data2["x"], $data2["y"], $data2["z"], BLOCK_UPDATE_NORMAL);
}
break;
case 54:
case 61:
$faces = array(
0 => 4,
1 => 2,
2 => 5,
3 => 3,
);
$data["meta"] = $faces[$direction];
break;
case 65: //Ladder
if(isset(Material::$transparent[$target[0]])){
return false;