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 = {}
|
||||
dofile(minetest.get_modpath("mcljepc_core") .. "/helpers.lua")
|
||||
dofile(minetest.get_modpath("mcljepc_core") .. "/blocks.lua")
|
||||
local modpath = minetest.get_modpath("mcljepc_core")
|
||||
dofile(modpath .. "/helpers.lua")
|
||||
dofile(modpath .. "/blocks.lua")
|
||||
|
||||
minetest.register_item(":", {
|
||||
type = "none",
|
||||
|
|
Loading…
Reference in New Issue