diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-03-21 09:43:02 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-03-21 09:43:02 +0000 |
commit | 20f8183316502ac07bc1de46e01fef9056fdeb64 (patch) | |
tree | da16a135ee1af452203d86bc9b67ece73c90902c | |
parent | c2ecb8321e372cdd521ab4a2f4972170233dca3d (diff) |
Fix variable nil default
-rw-r--r-- | api.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |