mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Move horse armor to armor creative tab
This commit is contained in:
parent
739f23581c
commit
9fb0e6ce29
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue