diff options
author | bell07 <web.alexander@web.de> | 2018-06-22 21:52:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-22 21:52:47 +0200 |
commit | 2900d789af3e56fb07695cf140a2a86aee279801 (patch) | |
tree | c091790875de1f376f4de606a25c3997f5783325 /init.lua | |
parent | bd8a575c3e69ed451863b025930bdf67c4a9a395 (diff) | |
parent | 44b482e53a75a1d2aa3fa0694c31fab8b233bcce (diff) |
Merge pull request #16 from bell07/clothing_support
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) |