forked from VoxeLibre/VoxeLibre
Use a local var to store the modpath
This commit is contained in:
parent
21531eb564
commit
00fa1f42cc
|
@ -1,6 +1,7 @@
|
||||||
mcljepc_core = {}
|
mcljepc_core = {}
|
||||||
dofile(minetest.get_modpath("mcljepc_core") .. "/helpers.lua")
|
local modpath = minetest.get_modpath("mcljepc_core")
|
||||||
dofile(minetest.get_modpath("mcljepc_core") .. "/blocks.lua")
|
dofile(modpath .. "/helpers.lua")
|
||||||
|
dofile(modpath .. "/blocks.lua")
|
||||||
|
|
||||||
minetest.register_item(":", {
|
minetest.register_item(":", {
|
||||||
type = "none",
|
type = "none",
|
||||||
|
|
Loading…
Reference in New Issue