diff --git a/mods/ITEMS/mcl_buckets/fishbuckets.lua b/mods/ITEMS/mcl_buckets/fishbuckets.lua index f011a9adf1..aecd177ce0 100644 --- a/mods/ITEMS/mcl_buckets/fishbuckets.lua +++ b/mods/ITEMS/mcl_buckets/fishbuckets.lua @@ -29,6 +29,10 @@ local function on_place_fish(itemstack, placer, pointed_thing) elseif n.name == "mclx_core:river_water_flowing" then water = nil end + if mcl_worlds.pos_to_dimension(pos) == "nether" then + water = nil + minetest.sound_play("fire_extinguish_flame", {pos = pos, gain = 0.25, max_hear_distance = 16}, true) + end if water then minetest.set_node(pos,{name = water}) end @@ -53,8 +57,6 @@ for techname, fishname in pairs(fish_names) do on_place = on_place_fish, on_secondary_use = on_place_fish, _on_dispense = function(stack, pos, droppos, dropnode, dropdir) - local buildable = minetest.registered_nodes[dropnode.name].buildable_to or dropnode.name == "mcl_portals:portal" - if not buildable then return stack end return on_place_fish(stack, nil, {above=droppos}) end, })