diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-02-21 15:23:03 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-02-21 15:23:03 +0000 |
commit | f7b9339dfc61f5f8b92acc031f797f788d901941 (patch) | |
tree | 240d3cdbf1fe1ebe9102f6cf29b5e94faff76b07 /bee.lua | |
parent | 08924ee1a3c575e8645d0158738cf96758cbb4d7 (diff) |
animals spawn on different grasses if ethereal detected
Diffstat (limited to 'bee.lua')
-rw-r--r-- | bee.lua | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -66,7 +66,6 @@ minetest.register_craftitem(":mobs:honey", { minetest.register_node(":mobs:beehive", { description = S("Beehive"), drawtype = "plantlike", - visual_scale = 1.0, tiles = {"mobs_beehive.png"}, inventory_image = "mobs_beehive.png", paramtype = "light", @@ -175,7 +174,7 @@ minetest.register_abm({ -- is hive full? local meta = minetest.get_meta(pos) if not meta then return end -- for older beehives - local inv = minetest.get_meta(pos):get_inventory() + local inv = meta:get_inventory() local honey = inv:get_stack("beehive", 1):get_count() -- is hive full? |