tidy code

This commit is contained in:
TenPlus1 2017-03-26 20:29:34 +01:00
parent a37e38da60
commit e1f7453ee5
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
-- Mobs Api (24th March 2017)
-- Mobs Api (26th March 2017)
mobs = {}
mobs.mod = "redo"
@ -2442,7 +2442,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 or dogshoot_count_max,
dogshoot_count2_max = def.dogshoot_count2_max or (def.dogshoot_count_max or 5),
attack_animals = def.attack_animals or false,
specific_attack = def.specific_attack,