Made boosters load and save properly

This commit is contained in:
auto committed 2022-08-05 22:17:53 +02:00
1 parent 4818f0b509
commit 7fa2370498
8 files changed
+40 -8

No files matched your search

@@ -26,7 +26,7 @@ public class ServerBoosterStorage extends BoosterStorage {
@Override
public Booster loadBooster(JsonParser parser) throws IOException {
JsonToken jsonToken = parser.nextToken();
JsonToken jsonToken = parser.currentToken();
if (!jsonToken.isStructStart())
return error("Didn't find struct start");