mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2025-07-27 12:30:19 +02:00
make eat grass block false by default
This commit is contained in:
2
cow.lua
2
cow.lua
@ -3,7 +3,7 @@ local S = minetest.get_translator("mobs_animal")
|
||||
|
||||
-- should cows eat grass blocks and mess up the environment?
|
||||
|
||||
local eat_gb = minetest.settings:get_bool("mobs_animal.eat_grass_block") ~= false
|
||||
local eat_gb = minetest.settings:get_bool("mobs_animal.eat_grass_block")
|
||||
local replace_what = { {"group:grass", "air", 0} }
|
||||
|
||||
if eat_gb then
|
||||
|
Reference in New Issue
Block a user