Remove redundant if statements in armor.lua
parent
ee29de43b6
commit
3f7df33cc1
|
@ -1,9 +1,5 @@
|
|||
if minetest.global_exists("armor") and armor.attributes then
|
||||
table.insert(armor.attributes, "bullet_res")
|
||||
end
|
||||
if minetest.global_exists("armor") and armor.attributes then
|
||||
table.insert(armor.attributes, "ammo_save")
|
||||
end
|
||||
if minetest.global_exists("armor") and armor.attributes then
|
||||
table.insert(armor.attributes, "ranged_dmg")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue