forked from VoxeLibre/VoxeLibre
move is_cauldron to the right place
This commit is contained in:
parent
69da355f96
commit
989384f362
|
@ -1 +1,5 @@
|
|||
mcl_cauldrons.registered_cauldrons = {}
|
||||
|
||||
function mcl_cauldrons.is_cauldron(name)
|
||||
return minetest.get_item_group(name, "cauldron") ~= 0
|
||||
end
|
||||
|
|
|
@ -39,10 +39,6 @@ function mcl_cauldrons.add_cauldron_level(pos, type, number)
|
|||
return number, not current == number
|
||||
end
|
||||
|
||||
function mcl_cauldrons.is_cauldron(name)
|
||||
return minetest.get_item_group(name, "cauldron") ~= 0
|
||||
end
|
||||
|
||||
function mcl_cauldrons.take_cauldron(pos, itemstack, user, sounds)
|
||||
local nn = minetest.get_node(pos)
|
||||
if mcl_cauldrons.registered_cauldrons[nn.name] and mcl_cauldrons.registered_cauldrons[nn.name].bucket then
|
||||
|
|
Loading…
Reference in New Issue