Log player skin changes (#64)

This commit is contained in:
baytuch 2022-02-02 19:58:06 +02:00 committed by GitHub
parent 716a9a3f9a
commit e479e8e745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,7 @@ function skins.set_player_skin(player, skin)
if success then
skins.get_player_skin(player):set_skin(player)
skins.update_player_skin(player)
minetest.log("action", player:get_player_name().." set skin to "..skin:get_meta("name"))
end
return success
end