diff options
-rw-r--r-- | FelLib/Fel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FelLib/Fel.cs b/FelLib/Fel.cs index 012cb4d3..fa0982d5 100644 --- a/FelLib/Fel.cs +++ b/FelLib/Fel.cs @@ -330,7 +330,7 @@ namespace com.clusterrr.FelLib public void RunUbootCmd(string command, bool noreturn = false, OnFelProgress callback = null)
{
- callback?.Invoke(CurrentAction.RunningCommand, command);
+ if (callback != null) callback(CurrentAction.RunningCommand, command);
if (cmdOffset < 0) throw new Exception("Invalid Unoot binary, command variable not found");
const UInt32 testSize = 0x20;
if (UBootBin == null || UBootBin.Length < testSize)
|