Skip to content

Commit b2a2712

Browse files
authored
Fix reading any NBT type for SERVER_LINKS (#1092)
1 parent 7bd6a84 commit b2a2712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_6to1_21_5/Protocol1_21_6To1_21_5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ private void storeServerLinks(final PacketWrapper wrapper) {
305305
final String url = wrapper.passthrough(Types.STRING);
306306
serverLinks.storeLink(id, url);
307307
} else {
308-
final Tag tag = wrapper.passthrough(Types.COMPOUND_TAG);
308+
final Tag tag = wrapper.passthrough(Types.TAG);
309309
final String url = wrapper.passthrough(Types.STRING);
310310
serverLinks.storeLink(tag, url);
311311
}

0 commit comments

Comments
 (0)