9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2026-01-04 15:31:37 +00:00

fix: wrong check in legacy stats loading

This commit is contained in:
William
2024-04-19 14:39:26 +01:00
committed by GitHub
parent 4d1a465c03
commit 245fbec80c

View File

@@ -186,7 +186,7 @@ public class BukkitLegacyConverter extends LegacyConverter {
@NotNull
private Optional<Data.Statistics> readStatistics(@NotNull JSONObject object) {
if (!object.has("statistics") || !shouldImport(Identifier.ADVANCEMENTS)) {
if (!object.has("statistics") || !shouldImport(Identifier.STATISTICS)) {
return Optional.empty();
}