summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAlexander Weber <web.alexander@web.de>2018-05-13 00:37:19 +0200
committerAlexander Weber <web.alexander@web.de>2018-05-13 00:37:19 +0200
commite6516d298284b6a64af2bce7c6df5be2ba4eb964 (patch)
treed6920747b7358451dfb8b674b30fd8d4b37ac9a7 /init.lua
parentb12aefbe4fe768106ee1d1dfac8567dbbcd8c273 (diff)
Visual update fixes if skin change externally (with and without 3d armor)
API updated also
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index ba72d7d..34f492e 100644
--- a/init.lua
+++ b/init.lua
@@ -32,6 +32,7 @@ end
-- 3d_armor compatibility
if minetest.global_exists("armor") then
+ skins.armor_loaded = true
armor.get_player_skin = function(self, name)
local skin = skins.get_player_skin(minetest.get_player_by_name(name))
return skin:get_texture()