mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
uncommented randomness
This commit is contained in:
parent
f81c8b17bf
commit
f93aa2601a
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class BaseMushroomBlock extends FlowableBlock{
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function onRandomTick(Level $level, $x, $y, $z){
|
public static function onRandomTick(Level $level, $x, $y, $z){
|
||||||
if(Block::$mushroomSpread/* && mt_rand(0, 24) == 0*/){
|
if(Block::$mushroomSpread && mt_rand(0, 24) == 0){
|
||||||
$maxcnt = 5;
|
$maxcnt = 5;
|
||||||
for($xx = $x-4; $xx <= $x+4; ++$xx){
|
for($xx = $x-4; $xx <= $x+4; ++$xx){
|
||||||
for($zz = $z-4; $zz <= $z+4; ++$zz){
|
for($zz = $z-4; $zz <= $z+4; ++$zz){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue