Skip to content

Commit

Permalink
Add the legacy creatorbash game key
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeltumn committed Aug 6, 2023
1 parent a7003f7 commit 427c65b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@ public class ClientboundMccServerPacket extends ClientboundNoxesiumPacket {
public final String subType;
public final String associatedGame;

/**
* The legacy id of this game, these are only used by the event and mcc.live.
* These are provided for completeness and comparison, but you should generally use
* the regular associatedGame value on Island.
*/
public final String legacyGameId;

public ClientboundMccServerPacket(FriendlyByteBuf buf) {
super(buf.readVarInt());
this.type = buf.readUtf();
this.subType = buf.readUtf();
this.associatedGame = buf.readUtf();
this.legacyGameId = buf.readUtf();
}

@Override
Expand Down

0 comments on commit 427c65b

Please sign in to comment.