forked from Upstream/mmocore
Fixed error message when the class doesn't have any skills.
This commit is contained in:
parent
8ce90c3363
commit
c64b88e36d
@ -329,6 +329,7 @@ public class SkillList extends EditableInventory {
|
||||
skillSlots = getEditable().getByFunction("skill").getSlots();
|
||||
Validate.notNull(getEditable().getByFunction("slot"), "Your skill GUI config file is out-of-date, please regenerate it.");
|
||||
slotSlots = getEditable().getByFunction("slot").getSlots();
|
||||
if (skills.size() > page * skillSlots.size())
|
||||
selected = skills.get(page * skillSlots.size());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user