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

Minor changes to formatting

- Fixed color
- Removed empty lines
- Changed formatting according to the other pages in the guide
This commit is contained in:
SoSeDiK 2019-11-27 18:23:11 +02:00 committed by GitHub
parent c6efbc7205
commit f63c290041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ public final class GuideSettings {
} }
lore.add(""); lore.add("");
lore.add("&7\u21E8 Click to visit " + contributor.getName() + "'s profile"); lore.add(ChatColors.color("&7\u21E8 Click to visit " + contributor.getName() + "'s profile"));
meta.setLore(lore); meta.setLore(lore);
skull.setItemMeta(meta); skull.setItemMeta(meta);
@ -212,7 +212,7 @@ public final class GuideSettings {
} }
if (hasPrevious) { if (hasPrevious) {
menu.addItem(46, new CustomItem(Material.LIME_STAINED_GLASS_PANE, "&e<- Previous")); menu.addItem(46, new CustomItem(Material.LIME_STAINED_GLASS_PANE, "&e\u21E6 Previous Page"));
menu.addMenuClickHandler(46, (pl, slot, item, action) -> { menu.addMenuClickHandler(46, (pl, slot, item, action) -> {
openCredits(pl, page - 1); openCredits(pl, page - 1);
return false; return false;
@ -224,7 +224,7 @@ public final class GuideSettings {
} }
if (hasNext) { if (hasNext) {
menu.addItem(52, new CustomItem(Material.LIME_STAINED_GLASS_PANE, "&e<- Previous")); menu.addItem(52, new CustomItem(Material.LIME_STAINED_GLASS_PANE, "&eNext Page \u21E8"));
menu.addMenuClickHandler(52, (pl, slot, item, action) -> { menu.addMenuClickHandler(52, (pl, slot, item, action) -> {
openCredits(pl, page + 1); openCredits(pl, page + 1);
return false; return false;