Merge pull request #4799 from deathbeam/fix-raids-double-add
Fix adding of raid timer multiple times in Raids
This commit is contained in:
@@ -321,7 +321,10 @@ public class RaidsPlugin extends Plugin
|
|||||||
|
|
||||||
if (inRaidChambers && config.raidsTimer())
|
if (inRaidChambers && config.raidsTimer())
|
||||||
{
|
{
|
||||||
infoBoxManager.addInfoBox(timer);
|
if (!infoBoxManager.getInfoBoxes().contains(timer))
|
||||||
|
{
|
||||||
|
infoBoxManager.addInfoBox(timer);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user