From 5ad72b4f495a5982c969b910529ef4849cba95a6 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Tue, 26 Nov 2013 15:29:34 +0100 Subject: [PATCH] Return a bowl when eating stew or soup --- src/Player.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Player.php b/src/Player.php index 103b98ea3..f1551570f 100644 --- a/src/Player.php +++ b/src/Player.php @@ -1888,6 +1888,9 @@ class Player{ if($slot->count <= 0){ $this->setSlot($this->slot, BlockAPI::getItem(AIR, 0, 0), false); } + if($slot->getID() === MUSHROOM_STEW or $slot->getID() === BEETROOT_SOUP){ + $this->addItem(BOWL, 0, 1, false); + } } break; }