mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Fixed an issue with the Runner not showing the correct label of the block being processed.
This commit is contained in:
@@ -703,7 +703,7 @@ namespace RuriLib.Runner
|
||||
|
||||
// Output the label of the current block being processed
|
||||
if (Settings.General.BotsDisplayMode == BotsDisplayMode.Everything)
|
||||
bot.Status = "<<< PROCESSING BLOCK: " + loli.CurrentBlock + " >>>";
|
||||
bot.Status = "<<< PROCESSING BLOCK: " + loli.NextBlock + " >>>";
|
||||
|
||||
// Try to take a step in the LoliScript and output any errors
|
||||
try
|
||||
@@ -713,8 +713,8 @@ namespace RuriLib.Runner
|
||||
catch (BlockProcessingException ex)
|
||||
{
|
||||
if (Settings.General.BotsDisplayMode == BotsDisplayMode.Everything)
|
||||
bot.Status = $"<<< ERROR IN BLOCK: {loli.CurrentBlock} >>>";
|
||||
RaiseMessageArrived(LogLevel.Error, $"[{bot.Id}][{bot.Data}][{proxyUsedText}] ERROR in block {loli.CurrentBlock} | Exception: {ex.Message}", false);
|
||||
bot.Status = $"<<< ERROR IN BLOCK: {loli.NextBlock} >>>";
|
||||
RaiseMessageArrived(LogLevel.Error, $"[{bot.Id}][{bot.Data}][{proxyUsedText}] ERROR in block {loli.NextBlock} | Exception: {ex.Message}", false);
|
||||
Thread.Sleep(1000);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user