mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-26 09:13:53 +01:00
Remove modlib.minetest.get_color_int
This commit is contained in:
parent
8b0176341b
commit
f1aa7f5a98
@ -74,9 +74,6 @@ function get_node_inventory_image(nodename)
|
|||||||
end
|
end
|
||||||
return img or texture_modifier_inventorycube(chosen_tiles[1], chosen_tiles[2], chosen_tiles[3])
|
return img or texture_modifier_inventorycube(chosen_tiles[1], chosen_tiles[2], chosen_tiles[3])
|
||||||
end
|
end
|
||||||
function get_color_int(color)
|
|
||||||
return color.b + (color.g*256) + (color.r*256*256)
|
|
||||||
end
|
|
||||||
function check_player_privs(playername, privtable)
|
function check_player_privs(playername, privtable)
|
||||||
local privs=minetest.get_player_privs(playername)
|
local privs=minetest.get_player_privs(playername)
|
||||||
local missing_privs={}
|
local missing_privs={}
|
||||||
|
Loading…
Reference in New Issue
Block a user