mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 14:23:45 +01:00
Add armor.set_skin_mod() to set the skin mod name manually (#51)
Useful for skin mod forks that do not use the same name.
This commit is contained in:
parent
0dffd62fb0
commit
1dec1f2153
@ -673,3 +673,10 @@ armor.drop_armor = function(pos, stack)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Allows skin mod to be set manually.
|
||||||
|
--
|
||||||
|
-- Useful for skin mod forks that do not use the same name.
|
||||||
|
armor.set_skin_mod = function(mod)
|
||||||
|
armor.skin_mod = mod
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user