Expose StructuredDataConverter#removeBackupTag (#3838)

This commit is contained in:
EnZaXD 2024-05-09 20:50:45 +02:00 committed by GitHub
parent f60e31ac78
commit 2aec3ce6d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -692,7 +692,7 @@ public final class StructuredDataConverter {
return subTag;
}
static @Nullable CompoundTag removeBackupTag(final CompoundTag tag) {
public static @Nullable CompoundTag removeBackupTag(final CompoundTag tag) {
final CompoundTag backupTag = tag.getCompoundTag(BACKUP_TAG_KEY);
if (backupTag != null) {
tag.remove(BACKUP_TAG_KEY);