Move horse armor to armor creative tab

This commit is contained in:
Wuzzy 2017-07-05 22:19:17 +02:00
parent 739f23581c
commit 9fb0e6ce29

@ -23,7 +23,7 @@ do
return def.groups.tool or (def.tool_capabilities ~= nil and def.tool_capabilities.damage_groups == nil) return def.groups.tool or (def.tool_capabilities ~= nil and def.tool_capabilities.damage_groups == nil)
end end
local is_weapon_or_armor = function(def) local is_weapon_or_armor = function(def)
return def.groups.weapon or def.groups.weapon_ranged or def.groups.ammo or ((def.groups.armor_head or def.groups.armor_torso or def.groups.armor_legs or def.groups.armor_feet) and def.groups.non_combat_armor ~= 1) return def.groups.weapon or def.groups.weapon_ranged or def.groups.ammo or ((def.groups.armor_head or def.groups.armor_torso or def.groups.armor_legs or def.groups.armor_feet or def.groups.horse_armor) and def.groups.non_combat_armor ~= 1)
end end
if def.groups.building_block then if def.groups.building_block then
table.insert(inventory_lists["blocks"], name) table.insert(inventory_lists["blocks"], name)