2021-12-21 14:18:45 +01:00

6 lines
186 B
Lua

local S = minetest.get_translator("no_multiplayer")
if not minetest.is_singleplayer() then
error(S("This is not a multiplayer game! Please disable server hosting and try again."))
end