Loading hive.lua +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ xdecor.register("hive", { local inv = minetest.get_meta(pos):get_inventory() return inv:is_empty("honey") end, on_punch = function(_, _, puncher) on_punch = function(pos, node, puncher) if math.random(1, 4) == 1 then minetest.add_entity(pos, "mobs_animal:bee_angry") end Loading Loading
hive.lua +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ xdecor.register("hive", { local inv = minetest.get_meta(pos):get_inventory() return inv:is_empty("honey") end, on_punch = function(_, _, puncher) on_punch = function(pos, node, puncher) if math.random(1, 4) == 1 then minetest.add_entity(pos, "mobs_animal:bee_angry") end Loading