mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-23 00:07:53 +01:00
Blep
This commit is contained in:
parent
da73feacf4
commit
f3b906007d
3 changed files with 96 additions and 89 deletions
|
|
@ -38,7 +38,10 @@ public sealed partial class Mod2
|
|||
{
|
||||
if( unusedFile.ToGamePath( mod.BasePath, out var gamePath ) )
|
||||
{
|
||||
mod._default.FileData.Add( gamePath, unusedFile );
|
||||
if( !mod._default.FileData.TryAdd( gamePath, unusedFile ) )
|
||||
{
|
||||
PluginLog.Error( $"Could not add {gamePath} because it already points to {mod._default.FileData[ gamePath ]}." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue