diff --git a/src/API/AchievementAPI.php b/src/API/AchievementAPI.php index e95bcb55..a1b79f7b 100644 --- a/src/API/AchievementAPI.php +++ b/src/API/AchievementAPI.php @@ -67,7 +67,7 @@ class AchievementAPI{ "buildWorkBench", ], ], - "diamonds" => [ + "diamond" => [ "name" => "DIAMONDS!", "requires" => [ "acquireIron", diff --git a/src/entity/animal/Pig.php b/src/entity/animal/Pig.php index 75e09580..b90422a8 100644 --- a/src/entity/animal/Pig.php +++ b/src/entity/animal/Pig.php @@ -14,8 +14,8 @@ class Pig extends Animal{ public function getDrops(){ return $this->isBaby() ? parent::getDrops() : array( - array(($this->fire > 0 ? COOKED_PORKCHOP:RAW_PORKCHOP), 0, 1), + array(($this->fire > 0 ? COOKED_PORKCHOP:RAW_PORKCHOP), 0, mt_rand(0,2)), ); } -} \ No newline at end of file +}