diff --git a/src/main/java/net/Indyuce/mmocore/gui/SkillList.java b/src/main/java/net/Indyuce/mmocore/gui/SkillList.java index 2c4fb192..d140c56e 100644 --- a/src/main/java/net/Indyuce/mmocore/gui/SkillList.java +++ b/src/main/java/net/Indyuce/mmocore/gui/SkillList.java @@ -63,8 +63,6 @@ public class SkillList extends EditableInventory { }; } - - if (function.equals("slot")) return new InventoryItem(config) { private final String none = MythicLib.plugin.parseColors(config.getString("no-skill")); @@ -376,7 +374,7 @@ public class SkillList extends EditableInventory { if (item.getFunction().equals("slot")) { int index = slotSlots.indexOf(context.getSlot()); -KEy // unbind if there is a current spell. + // unbind if there is a current spell. if (context.getClickType() == ClickType.RIGHT) { if (!playerData.hasSkillBound(index)) { MMOCore.plugin.configManager.getSimpleMessage("no-skill-bound").send(player); @@ -456,10 +454,5 @@ KEy // unbind if there is a current spell. open(); } } - - } - - private int mod(int x, int n) { - return x < 0 ? (x + n) : (x % n); } } \ No newline at end of file