Browse Source

beehives no longer suffocate bees

pull/20/head
TenPlus1 2 months ago
parent
commit
59d5dbab85
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      bee.lua
  2. +1
    -0
      cow.lua

+ 1
- 1
bee.lua View File

@@ -79,7 +79,7 @@ minetest.register_node(":mobs:beehive", {
paramtype = "light",
sunlight_propagates = true,
walkable = true,
groups = {oddly_breakable_by_hand = 3, flammable = 1},
groups = {oddly_breakable_by_hand = 3, flammable = 1, disable_suffocation = 1},
sounds = default.node_sound_defaults(),

on_construct = function(pos)


+ 1
- 0
cow.lua View File

@@ -65,6 +65,7 @@ mobs:register_mob("mobs_animal:cow", {
{"group:grass", "air", 0},
{"default:dirt_with_grass", "default:dirt", -1}
},
-- stay_near = {{"farming:straw", "group:grass"}, 10},
fear_height = 2,
on_rightclick = function(self, clicker)



Loading…
Cancel
Save