mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 05:25:21 +01:00
Remove unnecessary else if.
This commit is contained in:
parent
7e3876f391
commit
e9b20feac4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user