CRASHFIX: local ChatCmdBuilder was read after being called (in commands.lua)
This commit is contained in:
parent
e1a50988a6
commit
960ad40be8
8
init.lua
8
init.lua
@ -28,12 +28,14 @@ local player_jump = 1.3 -- when in the minigame
|
||||
})
|
||||
|
||||
|
||||
if not minetest.get_modpath("lib_chatcmdbuilder") then
|
||||
dofile(minetest.get_modpath("sumo") .. "/chatcmdbuilder.lua")
|
||||
end
|
||||
|
||||
dofile(minetest.get_modpath("sumo") .. "/commands.lua")
|
||||
dofile(minetest.get_modpath("sumo") .. "/items.lua")
|
||||
dofile(minetest.get_modpath("sumo") .. "/minigame_manager.lua")
|
||||
dofile(minetest.get_modpath("sumo") .. "/nodes.lua")
|
||||
dofile(minetest.get_modpath("sumo") .. "/privs.lua")
|
||||
|
||||
if not minetest.get_modpath("lib_chatcmdbuilder") then
|
||||
dofile(minetest.get_modpath("sumo") .. "/chatcmdbuilder.lua")
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user