mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Revert "Update Grass.php // Pumpkin, Melon seeds."
This reverts commit 7510676c5c.
This commit is contained in:
parent
7510676c5c
commit
da78eb419e
1 changed files with 1 additions and 9 deletions
|
|
@ -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{
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue