File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/org/mvplugins/multiverse/inventories Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,6 @@ public static PotionEffect[] parsePotionEffects(String potionsString) {
294294 return potionEffectList .toArray (new PotionEffect [potionEffectList .size ()]);
295295 }
296296
297- private static final JSONParser JSON_PARSER = new JSONParser (JSONParser .USE_INTEGER_STORAGE );
297+ private static final JSONParser JSON_PARSER = new JSONParser (JSONParser .USE_INTEGER_STORAGE | JSONParser . ACCEPT_TAILLING_SPACE );
298298}
299299
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class FlatFileProfileDataSource implements ProfileDataSource {
4040
4141 private static final String JSON = ".json" ;
4242
43- private final JSONParser JSON_PARSER = new JSONParser (JSONParser .USE_INTEGER_STORAGE );
43+ private final JSONParser JSON_PARSER = new JSONParser (JSONParser .USE_INTEGER_STORAGE | JSONParser . ACCEPT_TAILLING_SPACE );
4444
4545 private final ExecutorService fileIOExecutorService = Executors .newSingleThreadExecutor ();
4646
You can’t perform that action at this time.
0 commit comments