From f788a168d8ef65ebd4bab7f99b8f45b635a17065 Mon Sep 17 00:00:00 2001 From: gmriggs Date: Tue, 16 Jan 2024 21:28:55 -0500 Subject: [PATCH 1/2] update hardcoded literal in Fellowship.AddConfirmedMember to proper const --- Source/ACE.Server/Entity/Fellowship.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ACE.Server/Entity/Fellowship.cs b/Source/ACE.Server/Entity/Fellowship.cs index 4f9383f278..68c531afa4 100644 --- a/Source/ACE.Server/Entity/Fellowship.cs +++ b/Source/ACE.Server/Entity/Fellowship.cs @@ -148,7 +148,7 @@ public void AddConfirmedMember(Player inviter, Player player, bool response) return; } - if (FellowshipMembers.Count == 9) + if (FellowshipMembers.Count >= MaxFellows) { inviter.Session.Network.EnqueueSend(new GameEventWeenieError(inviter.Session, WeenieError.YourFellowshipIsFull)); return; From 1064b14ed92bb57d6477b685ec1006d2752404a9 Mon Sep 17 00:00:00 2001 From: gmriggs Date: Tue, 16 Jan 2024 21:39:10 -0500 Subject: [PATCH 2/2] consistency --- Source/ACE.Server/Entity/Fellowship.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ACE.Server/Entity/Fellowship.cs b/Source/ACE.Server/Entity/Fellowship.cs index 68c531afa4..b31140cac7 100644 --- a/Source/ACE.Server/Entity/Fellowship.cs +++ b/Source/ACE.Server/Entity/Fellowship.cs @@ -99,7 +99,7 @@ public void AddFellowshipMember(Player inviter, Player newMember) } } - if (FellowshipMembers.Count == MaxFellows) + if (FellowshipMembers.Count >= MaxFellows) { inviter.Session.Network.EnqueueSend(new GameEventWeenieError(inviter.Session, WeenieError.YourFellowshipIsFull)); return;