This commit is contained in:
GameHerobrine 2022-08-28 12:24:42 +03:00
commit 110b93837a
2 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,7 @@ class AchievementAPI{
"buildWorkBench", "buildWorkBench",
], ],
], ],
"diamonds" => [ "diamond" => [
"name" => "DIAMONDS!", "name" => "DIAMONDS!",
"requires" => [ "requires" => [
"acquireIron", "acquireIron",

View file

@ -14,8 +14,8 @@ class Pig extends Animal{
public function getDrops(){ public function getDrops(){
return $this->isBaby() ? parent::getDrops() : return $this->isBaby() ? parent::getDrops() :
array( array(
array(($this->fire > 0 ? COOKED_PORKCHOP:RAW_PORKCHOP), 0, 1), array(($this->fire > 0 ? COOKED_PORKCHOP:RAW_PORKCHOP), 0, mt_rand(0,2)),
); );
} }
} }