From 56a84015acaecc2682a0b8d7285f458b9dcf79ff Mon Sep 17 00:00:00 2001 From: Ka0rX Date: Sun, 16 Apr 2023 18:28:23 +0100 Subject: [PATCH] Bug fixing related to the "selected" item. --- .../src/main/java/net/Indyuce/mmocore/gui/SkillList.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/SkillList.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/SkillList.java index f2a7a1c9..5d3b8b4e 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/SkillList.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/gui/SkillList.java @@ -101,7 +101,8 @@ public class SkillList extends EditableInventory { public class SelectedItem extends InventoryItem { public SelectedItem(ConfigurationSection config) { - super(config); + //We must use this constructor to show that there are not specified material + super(Material.BARRIER,config); } @Override