Fix map data reading

Fixes #3545
This commit is contained in:
Nassim Jahnke 2023-12-05 22:17:42 +01:00
parent 3babc7a13a
commit dfee03ddbf
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ public final class Protocol1_20_3To1_20_2 extends AbstractProtocol<ClientboundPa
if (wrapper.passthrough(Type.BOOLEAN)) {
final int icons = wrapper.passthrough(Type.VAR_INT);
for (int i = 0; i < icons; i++) {
wrapper.passthrough(Type.BYTE); // Type
wrapper.passthrough(Type.VAR_INT); // Type
wrapper.passthrough(Type.BYTE); // X
wrapper.passthrough(Type.BYTE); // Y
wrapper.passthrough(Type.BYTE); // Rotation