fix: cancel old owner's pending action on ownership transfer
This commit is contained in:
@@ -512,6 +512,8 @@ public static class ClaimLinkChatCommand
|
|||||||
if (oldOwnerMembership != null)
|
if (oldOwnerMembership != null)
|
||||||
oldOwnerMembership.Level = EnumPlayerGroupMemberShip.Op;
|
oldOwnerMembership.Level = EnumPlayerGroupMemberShip.Op;
|
||||||
|
|
||||||
|
PendingActions.Remove(oldOwnerUid);
|
||||||
|
|
||||||
string notice = $"'{group.Name}' is now owned by {target.PlayerName}.";
|
string notice = $"'{group.Name}' is now owned by {target.PlayerName}.";
|
||||||
|
|
||||||
HashSet<string> notifyUids = ClaimLinkModSystem
|
HashSet<string> notifyUids = ClaimLinkModSystem
|
||||||
|
|||||||
Reference in New Issue
Block a user