Skip to content
Snippets Groups Projects
Unverified Commit 6e7e3be5 authored by SX's avatar SX Committed by GitHub
Browse files

Optional QoS support (#13)

parent 8b301338
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,6 @@ read_globals = { ...@@ -21,6 +21,6 @@ read_globals = {
"minecart", locator = { fields = { "beacons" } }, "minecart", locator = { fields = { "beacons" } },
-- optional mods -- optional mods
"xban", "monitoring", "xban", "monitoring", "QoS",
"mcl_core", "mcl_sounds" "mcl_core", "mcl_sounds"
} }
...@@ -46,7 +46,7 @@ end ...@@ -46,7 +46,7 @@ end
-- optional mapserver-bridge stuff below -- optional mapserver-bridge stuff below
local http = minetest.request_http_api() local http = QoS and QoS(minetest.request_http_api(), 2) or minetest.request_http_api()
if http then if http then
-- check if the mapserver.json is in the world-folder -- check if the mapserver.json is in the world-folder
......
name = mapserver name = mapserver
description = Mod for the mapserver. description = Mod for the mapserver.
optional_depends = default, dye, advtrains, minecart, monitoring, bones, mcl_core, mcl_sounds, mcl_dye optional_depends = default, dye, advtrains, minecart, monitoring, bones, mcl_core, mcl_sounds, mcl_dye, qos
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment