Fix nowplaying being updated even when NPImages is true.
This commit is contained in:
1 parent
05e8ec6814
commit
dace101c30
1 file changed
+1
@@ -47,6 +47,7 @@ public class NowplayingHandler
|
||||
|
||||
public void init()
|
||||
{
|
||||
if(!bot.getConfig().useNPImages())
|
||||
bot.getThreadpool().scheduleWithFixedDelay(() -> updateAll(), 0, 5, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user