diff options
Diffstat (limited to 'bees')
-rw-r--r-- | bees/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bees/init.lua b/bees/init.lua index 79be907..b00219b 100644 --- a/bees/init.lua +++ b/bees/init.lua @@ -705,7 +705,7 @@ minetest.register_abm({ local p = {x = pos.x, y = pos.y - 1, z = pos.z} local nod = minetest.get_node_or_nil(p) - local def = minetest.registered_nodes[nod.name] + local def = nod and minetest.registered_nodes[nod.name] if not def or def.walkable then return end @@ -769,6 +769,7 @@ minetest.register_craftitem('bees:bottle_honey', { inventory_image = 'bees_bottle_honey.png', stack_max = 12, on_use = minetest.item_eat(3, "vessels:glass_bottle"), + groups = {vessel = 1}, }) minetest.register_craftitem('bees:wax', { |