mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
sugracane & cactus fixed, fixed sigsegv too early
This commit is contained in:
parent
b52e050f8c
commit
2ad06e202f
3 changed files with 14 additions and 12 deletions
|
|
@ -39,7 +39,7 @@ class CactusBlock extends TransparentBlock{
|
|||
}
|
||||
|
||||
public static function neighborChanged(Level $level, $x, $y, $z, $nX, $nY, $nZ, $oldID){
|
||||
$down = $level->level->getBlockID($x, $y, $z);
|
||||
$down = $level->level->getBlockID($x, $y - 1, $z);
|
||||
$b0 = $level->level->getBlockID($x, $y, $z - 1);
|
||||
$b1 = $level->level->getBlockID($x, $y, $z + 1);
|
||||
$b2 = $level->level->getBlockID($x - 1, $y, $z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue