mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
General code refactoring/improvements in server, treegen and connection
This commit is contained in:
parent
24f2c38093
commit
bc4ab8b99e
34 changed files with 330 additions and 439 deletions
|
@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "filesys.h"
|
||||
#include "server/player_sao.h"
|
||||
#include "util/string.h"
|
||||
#include <json/json.h>
|
||||
#include <cassert>
|
||||
|
||||
// !!! WARNING !!!
|
||||
|
|
|
@ -94,7 +94,6 @@ public:
|
|||
|
||||
private:
|
||||
Json::Value *getOrCreateJson(const std::string &modname);
|
||||
bool writeJson(const std::string &modname, const Json::Value &json);
|
||||
|
||||
std::string m_storage_dir;
|
||||
std::unordered_map<std::string, Json::Value> m_mod_storage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue