From 2d5240cf9238ff85dddda71409dda89d448e9ac5 Mon Sep 17 00:00:00 2001 From: Zoinkwiz Date: Sat, 23 Sep 2023 14:49:41 +0100 Subject: [PATCH] Add list option for TeleportItemRequirement --- .../requirements/item/TeleportItemRequirement.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/com/questhelper/requirements/item/TeleportItemRequirement.java b/src/main/java/com/questhelper/requirements/item/TeleportItemRequirement.java index 9518bc863f..3a04c2a2bf 100644 --- a/src/main/java/com/questhelper/requirements/item/TeleportItemRequirement.java +++ b/src/main/java/com/questhelper/requirements/item/TeleportItemRequirement.java @@ -26,6 +26,7 @@ package com.questhelper.requirements.item; import com.questhelper.ItemCollections; +import java.util.List; public class TeleportItemRequirement extends ItemRequirement { @@ -47,6 +48,18 @@ public TeleportItemRequirement(String name, ItemCollections itemCollection) setChargedItem(true); } + public TeleportItemRequirement(String name, List items) + { + super(name, items); + setChargedItem(true); + } + + public TeleportItemRequirement(String name, List items, int quantity) + { + super(name, items, quantity); + setChargedItem(true); + } + public TeleportItemRequirement(String name, ItemCollections itemCollection, int quantity) { super(name, itemCollection, quantity);