mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Fix the MOTHERLOAD of undetected issues that are now visible thanks to net6.0
This commit is contained in:
@ -55,6 +55,6 @@ namespace osu.Game.Rulesets.Mods
|
||||
/// <summary>
|
||||
/// Create a fresh <see cref="Mod"/> instance based on this mod.
|
||||
/// </summary>
|
||||
Mod CreateInstance() => (Mod)Activator.CreateInstance(GetType());
|
||||
Mod CreateInstance() => (Mod)Activator.CreateInstance(GetType())!;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user