Skip to content

Commit

Permalink
Add quantity methods for TeleportItemRequirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoinkwiz committed Sep 23, 2023
1 parent c458088 commit 3b0c9b2
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,21 @@ public TeleportItemRequirement(String name, int id)
setChargedItem(true);
}

public TeleportItemRequirement(String name, int id, int quantity)
{
super(name, id, quantity);
setChargedItem(true);
}

public TeleportItemRequirement(String name, ItemCollections itemCollection)
{
super(name, itemCollection);
setChargedItem(true);
}

public TeleportItemRequirement(String name, ItemCollections itemCollection, int quantity)
{
super(name, itemCollection, quantity);
setChargedItem(true);
}
}

0 comments on commit 3b0c9b2

Please sign in to comment.