Revert "Update Grass.php // Pumpkin, Melon seeds."

This reverts commit 7510676c5c.
This commit is contained in:
GameHerobrine 2022-07-30 18:47:26 +03:00
parent 7510676c5c
commit da78eb419e

View file

@ -42,14 +42,6 @@ class GrassBlock extends SolidBlock{
ServerAPI::request()->api->entity->drop(new Position($this->x+0.5, $this->y+1, $this->z+0.5, $this->level), BlockAPI::getItem(295,0,1));
return;
}
elseif($chance > 1 and $chance <= 17){
ServerAPI::request()->api->entity->drop(new Position($this->x+0.5, $this->y+1, $this->z+0.5, $this->level), BlockAPI::getItem(361,0,1));
return;
}
elseif($chance > 1 and $chance <= 18){
ServerAPI::request()->api->entity->drop(new Position($this->x+0.5, $this->y+1, $this->z+0.5, $this->level), BlockAPI::getItem(362,0,1));
return;
}
return;
}
@ -66,4 +58,4 @@ class GrassBlock extends SolidBlock{
}
}
}
}