Made boosters load and save properly

This commit is contained in:
2022-08-05 22:17:53 +02:00
parent 4818f0b509
commit 7fa2370498
8 changed files with 40 additions and 8 deletions
@@ -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");