mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2025-01-08 23:20:17 +01:00
Log player skin changes (#64)
This commit is contained in:
parent
716a9a3f9a
commit
e479e8e745
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