Bugfixes
• Fix more compilation errors. • Hacky workarounds to get content.minetest.net to send a 0.4-compatible mod list. · Send the maximum protocol version of 0 (instead of 33) to work around a bug(?) on content.minetest.net.
This commit is contained in:
parent
f3dfce02e9
commit
2f382ddee2
@ -285,7 +285,9 @@ function store.load()
|
||||
local show_nonfree = core.settings:get_bool("show_nonfree_packages")
|
||||
local url = base_url ..
|
||||
"/api/packages/?type=mod&type=game&type=txp&protocol_version=" ..
|
||||
core.get_max_supp_proto()
|
||||
0
|
||||
-- Hackiness to work around a bug(?) in content.minetest.net.
|
||||
-- Original value: core.get_max_supp_proto()
|
||||
|
||||
for _, item in pairs(core.settings:get("contentdb_flag_blacklist"):split(",")) do
|
||||
item = item:trim()
|
||||
|
@ -52,7 +52,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "server.h"
|
||||
#include "settings.h"
|
||||
#include "sky.h"
|
||||
#include "subgame.h"
|
||||
#include "tool.h"
|
||||
#include "util/basic_macros.h"
|
||||
#include "util/directiontables.h"
|
||||
|
@ -22,7 +22,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "nodedef.h"
|
||||
#include "itemdef.h"
|
||||
#include "gamedef.h"
|
||||
#include "mods.h"
|
||||
#include "content/mods.h"
|
||||
#include "util/numeric.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user