2 Commits

Author SHA1 Message Date
2d280a5a1e Merge remote-tracking branch 'upstream/master' 2021-06-26 19:09:48 +02:00
1dec1f2153 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.
2021-06-23 17:28:29 +02:00

View File

@ -673,3 +673,10 @@ armor.drop_armor = function(pos, stack)
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