i forgot about this

This commit is contained in:
Evert Prants 2019-11-23 15:52:54 +02:00
parent 60796421a1
commit 220886d4a0
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -1,6 +1,4 @@
local _fldlib = minetest.get_modpath("fluid_lib") ~= nil
magicalities.cauldron = { recipes = {} }
function magicalities.cauldron.register_recipe(data)
@ -134,7 +132,7 @@ local _clddef = {
end,
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
if node.name ~= "magicalities:cauldron" then return itemstack end
if itemstack:get_name() == "bucket:bucket_water" and not _fldlib then
if itemstack:get_name() == "bucket:bucket_water" then
node.name = "magicalities:cauldron_with_water"
minetest.swap_node(pos, node)
return ItemStack("bucket:bucket_empty")