Commit Graph
2 Commits
Author SHA1 Message Date
JHPinto 28868a1eee Slayer overlay use query idEquals, use consts (#4322)
- QueryRunner is now injected in the constructor.
- Method checkInventory moved bellow the constructor.
- Restructured queries inside checkInventory to utilize idEquals.
- Renamed method checkInventory to getSlayerItems to better reflect the new business logic.
- Removed the now unnecessary check in the render call.
- Changed Set<Integer> of slayer equipment to ImmutableIntArray, and expanded it to include jewelry to prevent the necessity of repeated concat calls when calling idEquals.
- Transformed allSlayer items into a static variable ALL_SLAYER_ITEMS
- Changed slayerJewelry to static.
- Moved static variables to start of class.
2018-07-15 11:15:32 +02:00
JHPinto a06974e78b slayer plugin: move item count overlay checks to render 2018-07-02 19:58:02 -04:00