mirror of
https://github.com/minetest-mods/skinsdb.git
synced 2025-01-08 23:20:17 +01:00
Update - fix some errors
This commit is contained in:
parent
4b4aa7fd4c
commit
343a08e44a
@ -9,6 +9,16 @@ u_skins.pages = {}
|
||||
u_skins.u_skins = {}
|
||||
u_skins.file_save = false
|
||||
|
||||
-- ( Deprecated
|
||||
u_skins.type = { SPRITE=0, MODEL=1, ERROR=99 }
|
||||
u_skins.get_type = function(texture)
|
||||
if not u_skins.is_skin(texture) then
|
||||
return u_skins.ERROR
|
||||
end
|
||||
return u_skins.MODEL
|
||||
end
|
||||
-- )
|
||||
|
||||
u_skins.is_skin = function(texture)
|
||||
if not texture then
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user