Skip to content

Commit

Permalink
fix networking
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed May 8, 2024
1 parent 379dbaf commit 386b2e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/io/ix0rai/rainglow/data/RainglowMode.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ public static void printLoadedModes() {
public static void write(PacketByteBuf buf, RainglowMode mode) {
buf.writeString(mode.getId());
TextCodecs.UNLIMITED_TEXT_PACKET_CODEC.encode(buf, mode.getText());
buf.writeString(mode.getText().toString());
List<String> colourIds = mode.getColours().stream().map(RainglowColour::getId).toList();
buf.writeCollection(colourIds, PacketByteBuf::writeString);
}
Expand Down

0 comments on commit 386b2e8

Please sign in to comment.