Skip to content

Commit dfee03d

Browse files
committed
Fix map data reading
Fixes ViaVersion#3545
1 parent 3babc7a commit dfee03d

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_3to1_20_2/Protocol1_20_3To1_20_2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ protected void registerPackets() {
200200
if (wrapper.passthrough(Type.BOOLEAN)) {
201201
final int icons = wrapper.passthrough(Type.VAR_INT);
202202
for (int i = 0; i < icons; i++) {
203-
wrapper.passthrough(Type.BYTE); // Type
203+
wrapper.passthrough(Type.VAR_INT); // Type
204204
wrapper.passthrough(Type.BYTE); // X
205205
wrapper.passthrough(Type.BYTE); // Y
206206
wrapper.passthrough(Type.BYTE); // Rotation

0 commit comments

Comments
 (0)