Skip to content

Commit

Permalink
Add list option for TeleportItemRequirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoinkwiz committed Sep 23, 2023
1 parent 8c3ec90 commit 2d5240c
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
package com.questhelper.requirements.item;

import com.questhelper.ItemCollections;
import java.util.List;

public class TeleportItemRequirement extends ItemRequirement
{
Expand All @@ -47,6 +48,18 @@ public TeleportItemRequirement(String name, ItemCollections itemCollection)
setChargedItem(true);
}

public TeleportItemRequirement(String name, List<Integer> items)
{
super(name, items);
setChargedItem(true);
}

public TeleportItemRequirement(String name, List<Integer> items, int quantity)
{
super(name, items, quantity);
setChargedItem(true);
}

public TeleportItemRequirement(String name, ItemCollections itemCollection, int quantity)
{
super(name, itemCollection, quantity);
Expand Down

0 comments on commit 2d5240c

Please sign in to comment.