forked from MagicBane/Server
Can roll list refactored
This commit is contained in:
@@ -1039,7 +1039,7 @@ public class NPC extends AbstractCharacter {
|
||||
public HashSet<Integer> getCanRoll() {
|
||||
|
||||
if (this.canRoll == null)
|
||||
this.canRoll = DbManager.ItemQueries.GET_ITEMS_FOR_VENDOR(this.vendorID);
|
||||
this.canRoll = DbManager.ItemQueries.GET_VENDOR_CAN_ROLL_LIST(this.vendorID);
|
||||
|
||||
HashSet<Integer> fullItemList = this.canRoll;
|
||||
HashSet<Integer> filteredItemList = new HashSet<>();
|
||||
|
||||
Reference in New Issue
Block a user