aboutsummaryrefslogtreecommitdiff
path: root/me/Danker/handlers/APIHandler.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-07-24 16:28:48 -0400
committerbowser0000 <bowser0000@gmail.com>2020-07-24 16:28:48 -0400
commitb8de3d5ddc0032a96189250e43779af525a31580 (patch)
tree9b52930efef82db611527e8a7b40497414729ae8 /me/Danker/handlers/APIHandler.java
parent17643172df0eec7521996b786ea3f74bae8acb43 (diff)
downloadSkyblockMod-b8de3d5ddc0032a96189250e43779af525a31580.tar.gz
SkyblockMod-b8de3d5ddc0032a96189250e43779af525a31580.tar.bz2
SkyblockMod-b8de3d5ddc0032a96189250e43779af525a31580.zip
Add /bank, other small changes
Fix getting profiles of person with 1 profile with no last_save. Toggles are now off by default.
Diffstat (limited to 'me/Danker/handlers/APIHandler.java')
-rw-r--r--me/Danker/handlers/APIHandler.java2
1 files changed, 1 insertions, 1 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();
}