@@ -477,6 +477,7 @@ class LootTrackerPanel extends PluginPanel
|
||||
{
|
||||
for (LootTrackerRecord r : records)
|
||||
{
|
||||
if (plugin.isIgnoredNPC(r.getTitle()))
|
||||
for (LootTrackerItem item : r.getItems())
|
||||
{
|
||||
if (plugin.isIgnored(item.getName()) != item.isIgnored())
|
||||
|
||||
@@ -804,10 +804,12 @@ public class LootTrackerPlugin extends Plugin
|
||||
if (ignore)
|
||||
{
|
||||
ignoredNPCSet.add(name);
|
||||
ignoredNPCs.add(name);
|
||||
}
|
||||
else
|
||||
{
|
||||
ignoredNPCSet.remove(name);
|
||||
ignoredNPCs.remove(name);
|
||||
}
|
||||
|
||||
config.setIgnoredNPCs(Text.toCSV(ignoredNPCSet));
|
||||
@@ -821,6 +823,7 @@ public class LootTrackerPlugin extends Plugin
|
||||
*/
|
||||
public boolean isIgnoredNPC(String name)
|
||||
{
|
||||
log.info(ignoredNPCs.toString());
|
||||
return ignoredNPCs.contains(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user