fixed playing rotate , thx baron von chukkelchode
This commit is contained in:
parent
fe528f37cc
commit
9fec22a307
@ -51,11 +51,9 @@ namespace NadekoBot.Modules.Administration.Commands
|
|||||||
{
|
{
|
||||||
if (PlayingPlaceholders.Count == 0
|
if (PlayingPlaceholders.Count == 0
|
||||||
|| NadekoBot.Config.RotatingStatuses.Count == 0
|
|| NadekoBot.Config.RotatingStatuses.Count == 0
|
||||||
|| i >= PlayingPlaceholders.Count
|
|
||||||
|| i >= NadekoBot.Config.RotatingStatuses.Count)
|
|| i >= NadekoBot.Config.RotatingStatuses.Count)
|
||||||
{
|
{
|
||||||
i = -1;
|
i = 0;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
status = NadekoBot.Config.RotatingStatuses[i];
|
status = NadekoBot.Config.RotatingStatuses[i];
|
||||||
status = PlayingPlaceholders.Aggregate(status,
|
status = PlayingPlaceholders.Aggregate(status,
|
||||||
|
Loading…
Reference in New Issue
Block a user