diff --git a/src/main/java/net/Indyuce/mmocore/gui/SubclassConfirmation.java b/src/main/java/net/Indyuce/mmocore/gui/SubclassConfirmation.java index 4e0b9ae7..08649e51 100644 --- a/src/main/java/net/Indyuce/mmocore/gui/SubclassConfirmation.java +++ b/src/main/java/net/Indyuce/mmocore/gui/SubclassConfirmation.java @@ -30,21 +30,21 @@ public class SubclassConfirmation extends EditableInventory { public Placeholders getPlaceholders(PluginInventory inv, int n) { Placeholders holders = new Placeholders(); - holders.register("class", ((ClassConfirmationInventory) inv).profess.getName()); + holders.register("class", ((SubclassConfirmationInventory) inv).profess.getName()); return holders; } } : new NoPlaceholderItem(config); } public GeneratedInventory newInventory(PlayerData data, PlayerClass profess, PluginInventory last) { - return new ClassConfirmationInventory(data, this, profess, last); + return new SubclassConfirmationInventory(data, this, profess, last); } - public class ClassConfirmationInventory extends GeneratedInventory { + public class SubclassConfirmationInventory extends GeneratedInventory { private final PlayerClass profess; private final PluginInventory last; - public ClassConfirmationInventory(PlayerData playerData, EditableInventory editable, PlayerClass profess, PluginInventory last) { + public SubclassConfirmationInventory(PlayerData playerData, EditableInventory editable, PlayerClass profess, PluginInventory last) { super(playerData, editable); this.profess = profess; diff --git a/src/main/java/net/Indyuce/mmocore/gui/SubclassSelect.java b/src/main/java/net/Indyuce/mmocore/gui/SubclassSelect.java index 87ed9f7f..e73c94b8 100644 --- a/src/main/java/net/Indyuce/mmocore/gui/SubclassSelect.java +++ b/src/main/java/net/Indyuce/mmocore/gui/SubclassSelect.java @@ -122,7 +122,7 @@ public class SubclassSelect extends EditableInventory { return; } - InventoryManager.CLASS_CONFIRM.newInventory(playerData, MMOCore.plugin.classManager.get(tag), this).open(); + InventoryManager.SUBCLASS_CONFIRM.newInventory(playerData, MMOCore.plugin.classManager.get(tag), this).open(); } } }