From 9dbb99710eaaf23171732043bca91654bb0472f0 Mon Sep 17 00:00:00 2001 From: NeumimTo Date: Mon, 25 Feb 2019 00:13:57 +0100 Subject: [PATCH] fix backlink in inventory menus --- Plugin/src/main/java/cz/neumimto/rpg/gui/GuiHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/src/main/java/cz/neumimto/rpg/gui/GuiHelper.java b/Plugin/src/main/java/cz/neumimto/rpg/gui/GuiHelper.java index 505a0d55f..c419594ee 100644 --- a/Plugin/src/main/java/cz/neumimto/rpg/gui/GuiHelper.java +++ b/Plugin/src/main/java/cz/neumimto/rpg/gui/GuiHelper.java @@ -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; }