mirror of
https://github.com/appgurueu/modlib.git
synced 2024-08-20 13:24:11 +02:00
Directly access global table
This commit is contained in:
parent
a1bf8a104f
commit
a12ce08430
@ -687,7 +687,9 @@ function colorspec:to_number()
|
|||||||
return self.r * 0xFFFFFF + self.g * 0xFFFF + self.b * 0xFF + self.a
|
return self.r * 0xFFFFFF + self.g * 0xFFFF + self.b * 0xFF + self.a
|
||||||
end
|
end
|
||||||
|
|
||||||
colorspec_to_colorstring = rawget(_G, "minetest").colorspec_to_colorstring or function(spec)
|
colorspec_to_colorstring = _G.minetest.colorspec_to_colorstring or function(spec)
|
||||||
return colorspec.from_any(spec):to_string()
|
return colorspec.from_any(spec):to_string()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
write_schematic = function(fil) end
|
||||||
|
-- TODO schematic format
|
Loading…
Reference in New Issue
Block a user