From f71eae31a1714a1fc31da0f53c2aa283b012adab Mon Sep 17 00:00:00 2001 From: Juliakn66 <117075450+Juliakn66@users.noreply.github.com> Date: Fri, 27 Jan 2023 12:58:36 +0100 Subject: [PATCH] added methods getAmount() and setAmount() to item.java --- src/main/java/org/bitbiome/entities/Item.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/org/bitbiome/entities/Item.java b/src/main/java/org/bitbiome/entities/Item.java index be02837..f0da23a 100644 --- a/src/main/java/org/bitbiome/entities/Item.java +++ b/src/main/java/org/bitbiome/entities/Item.java @@ -38,5 +38,12 @@ public class Item { public void changeDoesDamage(boolean doesDamage) { this.doesDamage = doesDamage; } + public int getAmount(){ + return amount; + } + public void setAmount(int amount){ + this.amount = amount; + } + }