allow farming bowl to be used on the cauldron to get soup

master
y 2019-07-13 23:43:04 +01:00 committed by Jean-Patrick Guerrero
parent f85c4091ef
commit 52db2cc97a
1 changed files with 2 additions and 1 deletions

View File

@ -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()