mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
cactuses should grow now
This commit is contained in:
parent
e70c501df8
commit
db23411e15
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class CactusBlock extends TransparentBlock{
|
|||
for($yy = 1; $yy < 3; ++$yy){
|
||||
$bID = $level->level->getBlockID($x, $y + $yy, $z);
|
||||
if($bID === AIR){
|
||||
$level->setBlock(new Position($x, $y, $z, $level), new CactusBlock(), true, false, true);
|
||||
$level->setBlock(new Position($x, $y + $yy, $z, $level), new CactusBlock(), true, false, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue