version 0.21
This commit is contained in:
parent
bd1233aaf1
commit
c8d70b992c
1717 changed files with 68882 additions and 0 deletions
10
mods/player_textures/init.lua
Normal file
10
mods/player_textures/init.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
minetest.register_on_joinplayer(function(player)
|
||||
local filename = minetest.get_modpath("player_textures").."/textures/player_"..player:get_player_name()
|
||||
local f = io.open(filename..".png")
|
||||
if f then
|
||||
f:close()
|
||||
player:set_properties({
|
||||
textures = {"player_"..player:get_player_name()..".png", "player_"..player:get_player_name().."_back.png"},
|
||||
})
|
||||
end
|
||||
end)
|
Loading…
Add table
Add a link
Reference in a new issue