Skip to content

Commit

Permalink
fix: add PartyBroadcast to proto parse registry
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Mar 4, 2024
1 parent ad444ef commit cfb6fa4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import dev.emortal.api.message.matchmaker.TicketUpdatedMessage;
import dev.emortal.api.message.messagehandler.ChatMessageCreatedMessage;
import dev.emortal.api.message.messagehandler.PrivateMessageCreatedMessage;
import dev.emortal.api.message.party.PartyBroadcastMessage;
import dev.emortal.api.message.party.PartyCreatedMessage;
import dev.emortal.api.message.party.PartyDeletedMessage;
import dev.emortal.api.message.party.PartyEmptiedMessage;
Expand Down Expand Up @@ -125,6 +126,7 @@ private static void registerDefaults() {
register(PartyPlayerLeftMessage.getDefaultInstance(), PartyPlayerLeftMessage::parseFrom, "party-manager");
register(PartyLeaderChangedMessage.getDefaultInstance(), PartyLeaderChangedMessage::parseFrom, "party-manager");
register(PartySettingsChangedMessage.getDefaultInstance(), PartySettingsChangedMessage::parseFrom, "party-manager");
register(PartyBroadcastMessage.getDefaultInstance(), PartyBroadcastMessage::parseFrom, "party-manager");

// Permission
register(RoleUpdateMessage.getDefaultInstance(), RoleUpdateMessage::parseFrom, "permission-manager");
Expand Down

0 comments on commit cfb6fa4

Please sign in to comment.