mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
typo fix
This commit is contained in:
parent
165388c8ae
commit
761ac69a20
13 changed files with 7 additions and 23 deletions
|
|
@ -39,11 +39,8 @@ class GrassBlock extends SolidBlock{
|
|||
$chance = lcg_value() * 100;
|
||||
if($chance <= 1){
|
||||
ServerAPI::request()->api->entity->drop(new Position($this->x+0.5, $this->y+1, $this->z+0.5, $this->level), BlockAPI::getItem(BEETROOT_SEEDS,0,1), 10);
|
||||
return;
|
||||
}
|
||||
elseif($chance > 1 and $chance <= 16){
|
||||
}elseif($chance > 1 and $chance <= 16){
|
||||
ServerAPI::request()->api->entity->drop(new Position($this->x+0.5, $this->y+1, $this->z+0.5, $this->level), BlockAPI::getItem(SEEDS,0,1), 10);
|
||||
return;
|
||||
}
|
||||
}
|
||||
public static function onRandomTick(Level $level, $x, $y, $z){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue