forked from Upstream/mmocore
Little enhancement for class select GUI.
This commit is contained in:
parent
3efc5b86fb
commit
7b45b54793
@ -72,7 +72,7 @@ public class ClassSelect extends EditableInventory {
|
||||
|
||||
@Override
|
||||
public ItemStack display(ProfessSelectionInventory inv, int n) {
|
||||
ItemStack item = playerClass.getIcon();
|
||||
ItemStack item = n == 0 ? playerClass.getIcon() : super.display(inv, n);
|
||||
ItemMeta meta = item.getItemMeta();
|
||||
if (hideFlags())
|
||||
meta.addItemFlags(ItemFlag.values());
|
||||
|
Loading…
Reference in New Issue
Block a user