mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Fix wrong Collection Unused Banner for individual assignments.
This commit is contained in:
parent
cd94c73d93
commit
648286a923
2 changed files with 2 additions and 3 deletions
|
|
@ -10,7 +10,6 @@ using Penumbra.GameData.Actors;
|
|||
using Penumbra.GameData.Enums;
|
||||
using Penumbra.Services;
|
||||
using Penumbra.UI;
|
||||
using Penumbra.Util;
|
||||
|
||||
namespace Penumbra.Collections.Manager;
|
||||
|
||||
|
|
@ -276,7 +275,7 @@ public class ActiveCollections : ISavable, IDisposable
|
|||
jObj.WriteTo(j);
|
||||
}
|
||||
|
||||
private void UpdateCurrentCollectionInUse()
|
||||
public void UpdateCurrentCollectionInUse()
|
||||
=> CurrentCollectionInUse = SpecialCollections
|
||||
.OfType<ModCollection>()
|
||||
.Prepend(Interface)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ using Newtonsoft.Json.Linq;
|
|||
using Penumbra.GameData.Actors;
|
||||
using Penumbra.Services;
|
||||
using Penumbra.String;
|
||||
using Penumbra.Util;
|
||||
|
||||
namespace Penumbra.Collections.Manager;
|
||||
|
||||
|
|
@ -35,6 +34,7 @@ public partial class IndividualCollections
|
|||
{
|
||||
if (ReadJObjectInternal(obj, storage))
|
||||
saver.ImmediateSave(parent);
|
||||
parent.UpdateCurrentCollectionInUse();
|
||||
_actorService.FinishedCreation -= Func;
|
||||
}
|
||||
_actorService.FinishedCreation += Func;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue