mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Small security check.
This commit is contained in:
parent
2f7b6e3d55
commit
c684db3000
1 changed files with 1 additions and 1 deletions
|
|
@ -652,7 +652,7 @@ public class ItemSwapWindow : IDisposable
|
|||
return;
|
||||
}
|
||||
|
||||
UpdateMod( _mod, newCollection.Settings[ _mod.Index ] );
|
||||
UpdateMod( _mod, _mod.Index < newCollection.Settings.Count ? newCollection.Settings[ _mod.Index ] : null );
|
||||
newCollection.ModSettingChanged += OnSettingChange;
|
||||
if( oldCollection != null )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue