mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2025-02-13 10:01:25 +01:00
readded .hideallattributs
This commit is contained in:
parent
9abea9d315
commit
ae3337e003
@ -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 ** */
|
||||
|
||||
|
@ -224,7 +224,7 @@ public class MapListGui extends ExplorerGui<ImageMap> {
|
||||
mapPartLeft));
|
||||
}
|
||||
|
||||
//statistics.hideAllAttributes();
|
||||
statistics.hideAllAttributes();
|
||||
|
||||
action("", getSize() - 5, statistics);
|
||||
}
|
||||
|
@ -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());
|
||||
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user