1
0
Fork 0

Move horse armor to armor creative tab

objects
Wuzzy 2017-07-05 22:19:17 +02:00
parent 739f23581c
commit 9fb0e6ce29
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ do
return def.groups.tool or (def.tool_capabilities ~= nil and def.tool_capabilities.damage_groups == nil)
end
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
if def.groups.building_block then
table.insert(inventory_lists["blocks"], name)