fix: wrong check in legacy stats loading

feat/data-edit-commands
William 10 months ago committed by GitHub
parent 4d1a465c03
commit 245fbec80c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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();
}

Loading…
Cancel
Save