Bug fixing related to the "selected" item.

This commit is contained in:
Ka0rX 2023-04-16 18:28:23 +01:00
parent a1e817f22c
commit 56a84015ac

View File

@ -101,7 +101,8 @@ public class SkillList extends EditableInventory {
public class SelectedItem extends InventoryItem<SkillViewerInventory> { public class SelectedItem extends InventoryItem<SkillViewerInventory> {
public SelectedItem(ConfigurationSection config) { public SelectedItem(ConfigurationSection config) {
super(config); //We must use this constructor to show that there are not specified material
super(Material.BARRIER,config);
} }
@Override @Override