Remove redundant if statements in armor.lua

pull/5/head
ranguli 2022-01-31 18:26:15 -03:30
parent ee29de43b6
commit 3f7df33cc1
1 changed files with 0 additions and 4 deletions

View File

@ -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