mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-05 11:27:07 +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)
|
## Alpha (full Creative)
|
||||||
- Correct block placement for beds
|
- Correct block placement for beds
|
||||||
- Correct chest/furnace placement
|
|
||||||
|
|
||||||
## Beta (Survival)
|
## Beta (Survival)
|
||||||
- Random Chunk Updates
|
- Random Chunk Updates
|
||||||
|
@ -388,6 +388,16 @@ class BlockAPI{
|
|||||||
$this->updateBlocksAround($data2["x"], $data2["y"], $data2["z"], BLOCK_UPDATE_NORMAL);
|
$this->updateBlocksAround($data2["x"], $data2["y"], $data2["z"], BLOCK_UPDATE_NORMAL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 54:
|
||||||
|
case 61:
|
||||||
|
$faces = array(
|
||||||
|
0 => 4,
|
||||||
|
1 => 2,
|
||||||
|
2 => 5,
|
||||||
|
3 => 3,
|
||||||
|
);
|
||||||
|
$data["meta"] = $faces[$direction];
|
||||||
|
break;
|
||||||
case 65: //Ladder
|
case 65: //Ladder
|
||||||
if(isset(Material::$transparent[$target[0]])){
|
if(isset(Material::$transparent[$target[0]])){
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user