From f5e4d7af9f547a990765984bdc35e666e5ba14c2 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Sun, 14 Apr 2013 17:22:23 +0100 Subject: [PATCH] Fixed player_textures mod dependency. --- unified_skins/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unified_skins/init.lua b/unified_skins/init.lua index 1df7b9b..3a65590 100644 --- a/unified_skins/init.lua +++ b/unified_skins/init.lua @@ -56,6 +56,9 @@ uniskins.update_player_visuals = function(self, player) end minetest.register_on_joinplayer(function(player) + if not minetest.get_modpath("player_textures") then + return + end local name = player:get_player_name() local filename = minetest.get_modpath("player_textures").."/textures/player_"..name local f = io.open(filename..".png")