diff options
author | Alexander Weber <web.alexander@web.de> | 2018-01-07 19:09:52 +0100 |
---|---|---|
committer | Alexander Weber <web.alexander@web.de> | 2018-01-07 19:09:52 +0100 |
commit | 429874698ea5176e15a3b5703ac734b5b123d842 (patch) | |
tree | 560d03e39bae1038f6f483bec00546c36ffbaf06 /skin_meta_api.lua | |
parent | 7df6363aa0247068205a09815721164813849b19 (diff) |
Add skins.get_skinlist_with_meta(key, value) and small adjustments
Diffstat (limited to 'skin_meta_api.lua')
-rw-r--r-- | skin_meta_api.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/skin_meta_api.lua b/skin_meta_api.lua index 1e3bd99..5ff17f1 100644 --- a/skin_meta_api.lua +++ b/skin_meta_api.lua @@ -72,5 +72,7 @@ end function skin_class:is_applicable_for_player(playername) local assigned_player = self:get_meta("playername") - return not assigned_player or assigned_player == playername + return assigned_player == nil or + assigned_player == playername or + assigned_player == true end |