Fix adding of raid timer multiple times in Raids
Fix adding timer multiple times when you change option while inside raids. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -321,7 +321,10 @@ public class RaidsPlugin extends Plugin
|
||||
|
||||
if (inRaidChambers && config.raidsTimer())
|
||||
{
|
||||
infoBoxManager.addInfoBox(timer);
|
||||
if (!infoBoxManager.getInfoBoxes().contains(timer))
|
||||
{
|
||||
infoBoxManager.addInfoBox(timer);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user