mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fix for sugarcane placing
This commit is contained in:
parent
8d6d5306c1
commit
69d2557e32
2 changed files with 3 additions and 0 deletions
|
|
@ -611,7 +611,9 @@ class BlockAPI{
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
case 338:
|
||||
case 83: //Sugarcane
|
||||
$data["block"] = 83;
|
||||
$blockDown = $this->server->api->level->getBlock($data["x"], $data["y"] - 1, $data["z"]);
|
||||
if($blockDown[0] !== 2 and $blockDown[0] !== 3 and $blockDown[0] !== 12){
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue