3
0
Mirror von https://github.com/Moulberry/AxiomPaperPlugin.git synchronisiert 2024-11-14 12:10:05 +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 cd385961bc
Commit 9d469824fa

Datei anzeigen

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