Fix block predicate conversion in 1.20.3->1.20.5 (#4025)

This commit is contained in:
EnZaXD 2024-07-19 11:00:00 +02:00 committed by GitHub
parent 275b09bdbb
commit 87b041bf3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -739,8 +739,8 @@ public final class StructuredDataConverter {
predicatedListTag.add(serializeBlockPredicate(predicate, tagKey));
} else {
for (final int id : holders.ids()) {
final String name = toMappedItemName(id);
if (name.isEmpty()) {
final String name = Protocol1_20_3To1_20_5.MAPPINGS.blockName(id);
if (name == null) {
if (backupInconvertibleData) {
// TODO Backup
}