Skip to content

Commit

Permalink
fix backlink in inventory menus
Browse files Browse the repository at this point in the history
  • Loading branch information
NeumimTo committed Feb 24, 2019
1 parent 3dde9b1 commit 9dbb997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/src/main/java/cz/neumimto/rpg/gui/GuiHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public static ItemStack unclickableInterface() {
public static ItemStack back(ClassDefinition g) {
ItemStack of = itemStack(ItemTypes.PAPER);
of.offer(Keys.DISPLAY_NAME, Localizations.BACK.toText());
of.offer(new InventoryCommandItemMenuData(g.getClassType() + " " + g.getName()));
of.offer(new InventoryCommandItemMenuData("class " + g.getName()));
return of;
}

Expand Down

0 comments on commit 9dbb997

Please sign in to comment.