mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2024-12-22 23:40:18 +01:00
Compare player assignment non case sensitive
This commit is contained in:
parent
5a640bc12d
commit
9b9daa7494
@ -73,7 +73,6 @@ end
|
||||
|
||||
function skin_class:is_applicable_for_player(playername)
|
||||
local assigned_player = self:get_meta("playername")
|
||||
return assigned_player == nil or
|
||||
assigned_player == playername or
|
||||
assigned_player == true
|
||||
return assigned_player == nil or assigned_player == true or
|
||||
(assigned_player:lower() == playername:lower())
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user