Fix name error when equipping horse armor

This commit is contained in:
David McMackins II 2020-03-18 13:54:10 -05:00
parent 59b6385d10
commit a0e8727a5d
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ local horse = {
-- Put on armor and take armor from player's inventory -- Put on armor and take armor from player's inventory
local w = clicker:get_wielded_item()
local armor = minetest.get_item_group(iname, "horse_armor") local armor = minetest.get_item_group(iname, "horse_armor")
self._horse_armor = iname self._horse_armor = iname
if not minetest.settings:get_bool("creative_mode") then if not minetest.settings:get_bool("creative_mode") then