forked from mtcontrib/minetest-u_skinsdb
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.u_skins = {}
|
||||||
u_skins.file_save = false
|
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)
|
u_skins.is_skin = function(texture)
|
||||||
if not texture then
|
if not texture then
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user