Merge pull request #4799 from deathbeam/fix-raids-double-add

Fix adding of raid timer multiple times in Raids
This commit is contained in:
Tomas Slusny
2018-08-11 11:56:59 +02:00
committed by GitHub

View File

@@ -320,9 +320,12 @@ public class RaidsPlugin extends Plugin
}
if (inRaidChambers && config.raidsTimer())
{
if (!infoBoxManager.getInfoBoxes().contains(timer))
{
infoBoxManager.addInfoBox(timer);
}
}
else
{
infoBoxManager.removeInfoBox(timer);