mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-11-10 21:00:06 +00:00
Moved all JSON files into a dedicated data directory.
This commit is contained in:
@@ -37,7 +37,7 @@ void NPCManager::init() {
|
||||
|
||||
// load temporary mob dump
|
||||
try {
|
||||
std::ifstream inFile("mobs.json"); // not in settings, since it's temp
|
||||
std::ifstream inFile("data/mobs.json"); // not in settings, since it's temp
|
||||
nlohmann::json npcData;
|
||||
|
||||
// read file into json
|
||||
|
||||
@@ -18,8 +18,8 @@ int settings::SPAWN_X = 179213;
|
||||
int settings::SPAWN_Y = 268451;
|
||||
int settings::SPAWN_Z = -4210;
|
||||
std::string settings::GMPASS = "pass";
|
||||
std::string settings::NPCJSON = "NPCs.json";
|
||||
std::string settings::WARPJSON = "warps.json";
|
||||
std::string settings::NPCJSON = "data/NPCs.json";
|
||||
std::string settings::WARPJSON = "data/warps.json";
|
||||
std::string settings::MOTDSTRING = "Welcome to OpenFusion!";
|
||||
bool settings::GM = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user