3
0
Mirror von https://github.com/Moulberry/AxiomPaperPlugin.git synchronisiert 2024-11-08 17:40:04 +01:00

Fix protocol read issue when line_thickness is present while line_argb is not

Dieser Commit ist enthalten in:
Moulberry 2024-02-17 04:38:47 +08:00
Ursprung af0b6fc48d
Commit 7e85e2cf78

Datei anzeigen

@ -75,7 +75,7 @@ public record MarkerData(UUID uuid, Vec3 position, @Nullable String name, @Nulla
friendlyByteBuf.writeInt(markerData.lineArgb);
}
if (markerData.lineArgb != 0) {
if (markerData.lineThickness != 0) {
friendlyByteBuf.writeFloat(markerData.lineThickness);
}