project uses tabs instead of spaces(as in CONTRIBUTING.md)

This commit is contained in:
GameHerobrine 2022-12-26 07:01:28 +03:00
parent f00318b6ed
commit 62571f26cd
115 changed files with 2291 additions and 2364 deletions

View file

@ -60,11 +60,11 @@ class WheatBlock extends FlowableBlock{
$drops[] = array(WHEAT, 0, 1);
$drops[] = array(WHEAT_SEEDS, 0, mt_rand(0, 3));
}else{
for($i = 0; $i < 3; ++$i){
if(mt_rand(0,15) <= $this->meta){ //a way from 1.4.7
$drops[] = array(WHEAT_SEEDS, 0, 1);
}
}
for($i = 0; $i < 3; ++$i){
if(mt_rand(0,15) <= $this->meta){ //a way from 1.4.7
$drops[] = array(WHEAT_SEEDS, 0, 1);
}
}
}
return $drops;