From 52db2cc97a586c170cd92bb6944760d265b664df Mon Sep 17 00:00:00 2001
From: y <y@y>
Date: Sat, 13 Jul 2019 23:43:04 +0100
Subject: [PATCH] allow farming bowl to be used on the cauldron to get soup

---
 src/cooking.lua | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/cooking.lua b/src/cooking.lua
index 8cc2d38..591b6c4 100644
--- a/src/cooking.lua
+++ b/src/cooking.lua
@@ -119,8 +119,9 @@ end
 function cauldron.take_soup(pos, node, clicker, itemstack)
 	local inv = clicker:get_inventory()
 	local wield_item = clicker:get_wielded_item()
+	local item_name = wield_item:get_name()
 
-	if wield_item:get_name() == "xdecor:bowl" then
+	if item_name == "xdecor:bowl" or item_name == "farming:bowl" then
 		if wield_item:get_count() > 1 then
 			if inv:room_for_item("main", "xdecor:bowl_soup 1") then
 				itemstack:take_item()
-- 
GitLab