mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-03 18:42:37 +00:00
Correct chest/furnace placement
This commit is contained in:
parent
b7af93ca17
commit
941f1479c7
1
TODO.md
1
TODO.md
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user