aboutsummaryrefslogtreecommitdiff
path: root/me/Danker/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'me/Danker/handlers')
-rw-r--r--me/Danker/handlers/APIHandler.java2
-rw-r--r--me/Danker/handlers/ConfigHandler.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/me/Danker/handlers/APIHandler.java b/me/Danker/handlers/APIHandler.java
index e81b1f1..783ca92 100644
--- a/me/Danker/handlers/APIHandler.java
+++ b/me/Danker/handlers/APIHandler.java
@@ -125,7 +125,7 @@ public class APIHandler {
for (JsonElement profile : profilesArray) {
JsonObject profileJSON = profile.getAsJsonObject();
- long profileLastSave = 0;
+ long profileLastSave = 1;
if (profileJSON.get("members").getAsJsonObject().get(UUID).getAsJsonObject().has("last_save")) {
profileLastSave = profileJSON.get("members").getAsJsonObject().get(UUID).getAsJsonObject().get("last_save").getAsLong();
}
diff --git a/me/Danker/handlers/ConfigHandler.java b/me/Danker/handlers/ConfigHandler.java
index 64ada11..9de284f 100644
--- a/me/Danker/handlers/ConfigHandler.java
+++ b/me/Danker/handlers/ConfigHandler.java
@@ -125,8 +125,8 @@ public class ConfigHandler {
public static void reloadConfig() {
// Config init
- if (!hasKey("toggles", "GParty")) writeBooleanConfig("toggles", "GParty", true);
- if (!hasKey("toggles", "Coords")) writeBooleanConfig("toggles", "Coords", true);
+ if (!hasKey("toggles", "GParty")) writeBooleanConfig("toggles", "GParty", false);
+ if (!hasKey("toggles", "Coords")) writeBooleanConfig("toggles", "Coords", false);
if (!hasKey("api", "APIKey")) writeStringConfig("api", "APIKey", "");
// Wolf Loot