diff options
author | Alexander Weber <web.alexander@web.de> | 2018-06-21 08:22:54 +0200 |
---|---|---|
committer | Alexander Weber <web.alexander@web.de> | 2018-06-21 08:22:54 +0200 |
commit | 44b482e53a75a1d2aa3fa0694c31fab8b233bcce (patch) | |
tree | c091790875de1f376f4de606a25c3997f5783325 /init.lua | |
parent | bd8a575c3e69ed451863b025930bdf67c4a9a395 (diff) |
clothing support
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -51,6 +51,11 @@ if minetest.global_exists("armor") then end end +if minetest.global_exists("clothing") and clothing.player_textures then + skins.clothing_loaded = true + clothing:register_on_update(skins.update_player_skin) +end + -- Update skin on join skins.ui_context = {} minetest.register_on_joinplayer(function(player) |