forked from VoxeLibre/VoxeLibre
Fix name error when equipping horse armor
This commit is contained in:
parent
59b6385d10
commit
a0e8727a5d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue