From 263e8637776808c5c495ad650c5d9064c8b9e2ab Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Fri, 15 Mar 2019 23:48:34 -0500 Subject: [PATCH] Support: new colddb --- factions.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/factions.lua b/factions.lua index 8fcf9a9..8110abf 100644 --- a/factions.lua +++ b/factions.lua @@ -3,10 +3,10 @@ factions = {} -- Create cold databases. -factions.factions = colddb.Colddb("factions/factions") -factions.parcels = colddb.Colddb("factions/parcels") -factions.players = colddb.Colddb("factions/players") -factions.player_ips = colddb.Colddb("factions/ips") +factions.factions = colddb.Colddb(minetest.get_worldpath() .. "factions/factions") +factions.parcels = colddb.Colddb(minetest.get_worldpath() .. "factions/parcels") +factions.players = colddb.Colddb(minetest.get_worldpath() .. "factions/players") +factions.player_ips = colddb.Colddb(minetest.get_worldpath() .. "factions/ips") -- Memory only storage. factions.onlineplayers = {}