mirror of
				https://github.com/minetest-mods/3d_armor.git
				synced 2025-10-26 10:45:29 +01:00 
			
		
		
		
	Fixed player_textures mod dependency.
This commit is contained in:
		| @@ -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") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user