mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2025-01-12 16:50:26 +01:00
Log player skin changes (#64)
This commit is contained in:
parent
00f6a8137e
commit
fab418b56f
1
api.lua
1
api.lua
@ -57,6 +57,7 @@ function skins.set_player_skin(player, skin)
|
|||||||
if success then
|
if success then
|
||||||
skins.get_player_skin(player):set_skin(player)
|
skins.get_player_skin(player):set_skin(player)
|
||||||
skins.update_player_skin(player)
|
skins.update_player_skin(player)
|
||||||
|
minetest.log("action", player:get_player_name().." set skin to "..skin:get_meta("name"))
|
||||||
end
|
end
|
||||||
return success
|
return success
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user