mirror of
https://github.com/HybridDog/vector_extras.git
synced 2024-11-26 17:33:50 +01:00
🐈
This commit is contained in:
parent
5877a2c8bb
commit
934714fb48
8
init.lua
8
init.lua
@ -719,10 +719,14 @@ function funcs.get_max_coords(pos)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
dofile(minetest.get_modpath("vector_extras").."/vector_meta.lua")
|
--dofile(minetest.get_modpath("vector_extras").."/vector_meta.lua")
|
||||||
|
|
||||||
for name,func in pairs(funcs) do
|
for name,func in pairs(funcs) do
|
||||||
vector[name] = vector[name] or func
|
if vector[name] then
|
||||||
|
minetest.log("error", "[vector_extras] vector."..name.." already exists.")
|
||||||
|
else
|
||||||
|
vector[name] = func
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.log("info", string.format("[vector_extras] loaded after ca. %.2fs", os.clock() - load_time_start))
|
minetest.log("info", string.format("[vector_extras] loaded after ca. %.2fs", os.clock() - load_time_start))
|
||||||
|
Loading…
Reference in New Issue
Block a user