1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Fixed name

This commit is contained in:
uiytt 2020-10-23 19:05:32 +02:00
parent f6a3366aac
commit e13694c063

View File

@ -283,7 +283,7 @@ public class ChestSlimefunGuide implements SlimefunGuideImplementation {
} else if (isSurvivalMode() && research != null && !profile.hasUnlocked(research)) {
menu.addItem(index, new CustomItem(Material.BARRIER, ChatColor.WHITE + ItemUtils.getItemName(sfitem.getItem()), "&4&l" + SlimefunPlugin.getLocalization().getMessage(p, "guide.locked"), "", "&a> Click to unlock", "", "&7Cost: &b" + research.getCost() + " Level(s)"));
menu.addMenuClickHandler(index, (pl, slot, item, action) -> {
research.guideClickInteraction(this, p, profile, sfitem, category, page);
research.unlockFromGuide(this, p, profile, sfitem, category, page);
return false;
});
} else {