Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-11-20 06:50:10 +01:00
Ursprung
80f9dce513
Commit
3cec1751c9
@ -307,9 +307,10 @@ public final class BlockItemPackets1_17 extends ItemRewriter<Protocol1_16_4To1_1
|
|||||||
boolean hasMarkers = wrapper.read(Type.BOOLEAN);
|
boolean hasMarkers = wrapper.read(Type.BOOLEAN);
|
||||||
if (!hasMarkers) {
|
if (!hasMarkers) {
|
||||||
wrapper.write(Type.VAR_INT, 0); // Array size
|
wrapper.write(Type.VAR_INT, 0); // Array size
|
||||||
|
} else {
|
||||||
|
MapColorRewriter.getRewriteHandler(MapColorRewrites::getMappedColor).handle(wrapper);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
handler(MapColorRewriter.getRewriteHandler(MapColorRewrites::getMappedColor));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren