From 934714fb48f000a400f7fd94f83a4590ee7b7684 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Thu, 18 Feb 2016 18:46:22 +0100 Subject: [PATCH] :cat2: --- init.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 35da759..25ed4af 100644 --- a/init.lua +++ b/init.lua @@ -719,10 +719,14 @@ function funcs.get_max_coords(pos) 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 - 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 minetest.log("info", string.format("[vector_extras] loaded after ca. %.2fs", os.clock() - load_time_start))