mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
some CS
This commit is contained in:
parent
437576a981
commit
a4b7fbf2df
10 changed files with 24 additions and 24 deletions
|
|
@ -32,7 +32,7 @@ class FarmlandBlock extends TransparentBlock{
|
|||
$b = $level->level->getBlockID($x, $y + 1, $z);
|
||||
if(!StaticBlock::getIsFlowable($b)){
|
||||
$level->fastSetBlockUpdate($x, $y, $z, DIRT, 0, true);
|
||||
}else if($meta === 0 && mt_rand(0, 5) === 0){
|
||||
}elseif($meta === 0 && mt_rand(0, 5) === 0){
|
||||
$water = self::checkWaterStatic($level, $x, $y, $z);
|
||||
if($water){
|
||||
$level->fastSetBlockUpdate($x, $y, $z, FARMLAND, 1, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue