12 lines
304 B
Lua
12 lines
304 B
Lua
local path = minetest.get_modpath(minetest.get_current_modname())
|
|
|
|
if not minetest.is_singleplayer() then
|
|
if minetest.settings:get_bool('console_multiplayer') then
|
|
minetest.log('warning', '[console] Console mod has been loaded on multiplayer.')
|
|
else
|
|
return
|
|
end
|
|
end
|
|
|
|
dofile(path .. '/console.lua')
|