From 44b482e53a75a1d2aa3fa0694c31fab8b233bcce Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Thu, 21 Jun 2018 08:22:54 +0200 Subject: clothing support --- init.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 34f492e..8be9ac0 100644 --- a/init.lua +++ b/init.lua @@ -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) -- cgit v1.2.3