mirror of
https://github.com/appgurueu/modlib.git
synced 2025-02-16 16:22:30 +01:00
Directly access global table
This commit is contained in:
@ -687,7 +687,9 @@ function colorspec:to_number()
|
||||
return self.r * 0xFFFFFF + self.g * 0xFFFF + self.b * 0xFF + self.a
|
||||
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()
|
||||
end
|
||||
|
||||
write_schematic = function(fil) end
|
||||
-- TODO schematic format
|
Reference in New Issue
Block a user