mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-24 17:50:21 +01:00
Fix variable nil default
This commit is contained in:
parent
c2ecb8321e
commit
20f8183316
4
api.lua
4
api.lua
@ -1,5 +1,5 @@
|
||||
|
||||
-- Mobs Api (18th March 2017)
|
||||
-- Mobs Api (21st March 2017)
|
||||
|
||||
mobs = {}
|
||||
mobs.mod = "redo"
|
||||
@ -2440,7 +2440,7 @@ minetest.register_entity(name, {
|
||||
dogshoot_switch = def.dogshoot_switch,
|
||||
dogshoot_count = 0,
|
||||
dogshoot_count_max = def.dogshoot_count_max or 5,
|
||||
dogshoot_count2_max = def.dogshoot_count2_max,
|
||||
dogshoot_count2_max = def.dogshoot_count2_max or 5,
|
||||
attack_animals = def.attack_animals or false,
|
||||
specific_attack = def.specific_attack,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user