mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-22 12:16:21 +01:00
parent
80f9dce513
commit
3cec1751c9
@ -307,9 +307,10 @@ public final class BlockItemPackets1_17 extends ItemRewriter<Protocol1_16_4To1_1
|
||||
boolean hasMarkers = wrapper.read(Type.BOOLEAN);
|
||||
if (!hasMarkers) {
|
||||
wrapper.write(Type.VAR_INT, 0); // Array size
|
||||
} else {
|
||||
MapColorRewriter.getRewriteHandler(MapColorRewrites::getMappedColor).handle(wrapper);
|
||||
}
|
||||
});
|
||||
handler(MapColorRewriter.getRewriteHandler(MapColorRewrites::getMappedColor));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user