readded .hideallattributs

This commit is contained in:
Vlammar 2021-02-11 00:43:31 +01:00
parent 9abea9d315
commit ae3337e003
4 changed files with 6 additions and 7 deletions

View File

@ -123,9 +123,8 @@ public class ConfirmDeleteMapGui extends ActionGui {
.lore(I.t(getPlayerLocale(), "{gray}Name: {white}{0}", mapToDelete.getName()))
.lore(I.t(getPlayerLocale(), "{gray}Map ID: {white}{0}", mapToDelete.getId()))
.lore(I.t(getPlayerLocale(), "{gray}Maps inside: {white}{0}", mapToDelete.getMapsIDs().length))
.hideAllAttributes()
);
//.hideAllAttributes()
/* ** Buttons ** */

View File

@ -224,7 +224,7 @@ public class MapListGui extends ExplorerGui<ImageMap> {
mapPartLeft));
}
//statistics.hideAllAttributes();
statistics.hideAllAttributes();
action("", getSize() - 5, statistics);
}

View File

@ -165,12 +165,12 @@ public class MapItemManager implements Listener {
if (goldTitle) {
mapItem = new ItemStackBuilder(Material.FILLED_MAP)
.title(ChatColor.GOLD, text)
//.hideAllAttributes()
.hideAllAttributes()
.item();
} else {
mapItem = new ItemStackBuilder(Material.FILLED_MAP)
.title(text)
//.hideAllAttributes()
.hideAllAttributes()
.item();
}
final MapMeta meta = (MapMeta) mapItem.getItemMeta();
@ -312,7 +312,7 @@ public class MapItemManager implements Listener {
frame.setItem(new ItemStackBuilder(item)
.title(getMapTitle(item))
//.hideAllAttributes()
.hideAllAttributes()
.item());
}

View File

@ -95,7 +95,7 @@ public abstract class SplatterMapManager {
.loreLine()
.longLore(ChatColor.GRAY
+ I.t("Shift-click one of the placed maps to remove the whole poster in one shot."), 40)
//.hideAllAttributes()
.hideAllAttributes()
.craftItem();
final MapMeta meta = (MapMeta) splatter.getItemMeta();