fix: invite multiples times

This commit is contained in:
Anna
2022-01-28 04:34:11 -05:00
parent fab97a7a5f
commit 893743d72a
2 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ internal sealed class PayloadHandler {
var isInParty = member != default;
if (isLeader) {
if (!isInParty && ImGui.Selectable("Invite to Party")) {
this.Ui.Plugin.Functions.Party.Invite(player.PlayerName, (ushort) player.World.RowId);
this.Ui.Plugin.Functions.Party.Invite(player.PlayerName, (ushort) player.World.RowId, chunk.Message?.ContentId ?? 0);
}
if (isInParty && member != null) {