diff --git a/src/main/java/world/bentobox/challenges/utils/GuiUtils.java b/src/main/java/world/bentobox/challenges/utils/GuiUtils.java index 46a42b9..8315910 100644 --- a/src/main/java/world/bentobox/challenges/utils/GuiUtils.java +++ b/src/main/java/world/bentobox/challenges/utils/GuiUtils.java @@ -255,11 +255,6 @@ public class GuiUtils // Materials Potted elements cannot be in inventory. itemStack = new ItemStack(Material.getMaterial(material.name().replace("POTTED_", ""))); } - else if (material.name().startsWith("POTTED_")) - { - // Materials Potted elements cannot be in inventory. - itemStack = new ItemStack(Material.getMaterial(material.name().replace("POTTED_", ""))); - } else if (material.equals(Material.MELON_STEM) || material.equals(Material.ATTACHED_MELON_STEM)) { itemStack = new ItemStack(Material.MELON_SEEDS);