diff --git a/src/main/java/world/bentobox/challenges/database/object/Challenge.java b/src/main/java/world/bentobox/challenges/database/object/Challenge.java index 6f6f829..6d73716 100644 --- a/src/main/java/world/bentobox/challenges/database/object/Challenge.java +++ b/src/main/java/world/bentobox/challenges/database/object/Challenge.java @@ -308,7 +308,7 @@ public class Challenge implements DataObject */ public ItemStack getIcon() { - return icon; + return icon.clone(); } diff --git a/src/main/java/world/bentobox/challenges/database/object/ChallengeLevel.java b/src/main/java/world/bentobox/challenges/database/object/ChallengeLevel.java index cae1976..de4c71b 100644 --- a/src/main/java/world/bentobox/challenges/database/object/ChallengeLevel.java +++ b/src/main/java/world/bentobox/challenges/database/object/ChallengeLevel.java @@ -138,7 +138,7 @@ public class ChallengeLevel implements DataObject, Comparable */ public ItemStack getIcon() { - return icon; + return icon.clone(); }