Remove some warnings about nullable.

This commit is contained in:
Ottermandias 2021-02-21 16:08:08 +01:00
parent 3f9d97f65f
commit ef2f2cff5c
26 changed files with 330 additions and 352 deletions

View file

@ -27,7 +27,7 @@ namespace Penumbra
// the below exist just to make saving less cumbersome
[NonSerialized]
private DalamudPluginInterface _pluginInterface;
private DalamudPluginInterface? _pluginInterface;
public void Initialize( DalamudPluginInterface pluginInterface )
{
@ -36,7 +36,7 @@ namespace Penumbra
public void Save()
{
_pluginInterface.SavePluginConfig( this );
_pluginInterface?.SavePluginConfig( this );
}
}
}