mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2025-07-25 03:20:23 +02:00
Fix crash on shift + right-click on a goat
This commit is contained in:
2
goat.lua
2
goat.lua
@ -55,7 +55,7 @@ mobs:register_mob("mobs_animal:goat", {
|
|||||||
punch_start = 120, punch_end = 150, -- attack
|
punch_start = 120, punch_end = 150, -- attack
|
||||||
},
|
},
|
||||||
-- follows wheat
|
-- follows wheat
|
||||||
follow = "farming:wheat",
|
follow = {"farming:wheat"},
|
||||||
view_range = 10,
|
view_range = 10,
|
||||||
-- replace grass/wheat with air (eat)
|
-- replace grass/wheat with air (eat)
|
||||||
replace_rate = 50,
|
replace_rate = 50,
|
||||||
|
Reference in New Issue
Block a user