mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Fixed name
This commit is contained in:
parent
f6a3366aac
commit
e13694c063
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user