Skip to content

Commit 2aec3ce

Browse files
Expose StructuredDataConverter#removeBackupTag (ViaVersion#3838)
1 parent f60e31a commit 2aec3ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_5to1_20_3/rewriter/StructuredDataConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ private static CompoundTag getOrCreate(final CompoundTag tag, final String key)
692692
return subTag;
693693
}
694694

695-
static @Nullable CompoundTag removeBackupTag(final CompoundTag tag) {
695+
public static @Nullable CompoundTag removeBackupTag(final CompoundTag tag) {
696696
final CompoundTag backupTag = tag.getCompoundTag(BACKUP_TAG_KEY);
697697
if (backupTag != null) {
698698
tag.remove(BACKUP_TAG_KEY);

0 commit comments

Comments
 (0)