From e5bef8491b511a4e791bb468ca24f0d3455ce6f0 Mon Sep 17 00:00:00 2001 From: Tema1d <84407490+Tema1d@users.noreply.github.com> Date: Thu, 25 Aug 2022 19:40:10 +0300 Subject: [PATCH 1/2] Update AchievementsAPI.php achievement about getting diamonds has been fixed --- src/API/AchievementAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From f765d7700fd6775766c24a7ef8f9c86a1fe725dd Mon Sep 17 00:00:00 2001 From: Tema1d <84407490+Tema1d@users.noreply.github.com> Date: Fri, 26 Aug 2022 10:16:12 +0300 Subject: [PATCH 2/2] Update Pig.php added vanilla pork prolapse --- src/entity/animal/Pig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}