Move last pieces of monster drops to DropProvider

This commit is contained in:
P0nk
2023-03-16 18:27:14 +01:00
parent 5a35b55d7a
commit f2f3abdb32
6 changed files with 44 additions and 57 deletions

View File

@@ -103,4 +103,10 @@ public class DropProvider {
ItemInformationProvider ii = ItemInformationProvider.getInstance();
return !ii.isQuestItem(drop.itemId()) && !ii.isPartyQuestItem(drop.itemId());
}
public void clearCaches() {
this.monsterDropCache.invalidateAll();
this.globalContinentDropCache.invalidateAll();
this.globalMonsterDrops = null;
}
}