mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-23 00:05:52 +01:00
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