Fix preparation of invList (CASH was skipped) in prepareInventoryItemList (AbstractPlayerInteraction)
This commit is contained in:
@@ -291,7 +291,7 @@ public class AbstractPlayerInteraction {
|
||||
int size = Math.min(itemids.size(), quantity.size());
|
||||
|
||||
List<List<Pair<Integer, Integer>>> invList = new ArrayList<>(6);
|
||||
for (int i = InventoryType.UNDEFINED.getType(); i < InventoryType.CASH.getType(); i++) {
|
||||
for (int i = InventoryType.UNDEFINED.getType(); i <= InventoryType.CASH.getType(); i++) {
|
||||
invList.add(new LinkedList<>());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user