From da78eb419ec1f08dbec8c32fd159b2502ee577d6 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Sat, 30 Jul 2022 18:47:26 +0300 Subject: [PATCH] Revert "Update Grass.php // Pumpkin, Melon seeds." This reverts commit 7510676c5ccd4038fd5f8e28909e9540eaf326bb. --- src/material/block/solid/Grass.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/material/block/solid/Grass.php b/src/material/block/solid/Grass.php index 9b9ee0fd..4b5ec7df 100644 --- a/src/material/block/solid/Grass.php +++ b/src/material/block/solid/Grass.php @@ -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{ } } -} +} \ No newline at end of file