mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-12-01 14:33:27 +01:00
Update MapDetailGui.java
Change barrier block to redstone powder, and emerald to green dye temp fix for double click dupe bug in details and options GUI for a specific map. Redstone powder and green dye is safer than barrier blocks and emeralds.
This commit is contained in:
parent
243cfc2402
commit
5d90b1e756
@ -173,7 +173,7 @@ public class MapDetailGui extends ExplorerGui<Integer> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (canDelete) {
|
if (canDelete) {
|
||||||
action("delete", deleteSlot, new ItemStackBuilder(Material.BARRIER)
|
action("delete", deleteSlot, new ItemStackBuilder(Material.REDSTONE)
|
||||||
.title(I.t(getPlayerLocale(), "{red}Delete this image"))
|
.title(I.t(getPlayerLocale(), "{red}Delete this image"))
|
||||||
.longLore(I.t(getPlayerLocale(),
|
.longLore(I.t(getPlayerLocale(),
|
||||||
"{gray}Deletes this map {white}forever{gray}. This action cannot be undone!"))
|
"{gray}Deletes this map {white}forever{gray}. This action cannot be undone!"))
|
||||||
@ -194,7 +194,7 @@ public class MapDetailGui extends ExplorerGui<Integer> {
|
|||||||
backSlot++;
|
backSlot++;
|
||||||
}
|
}
|
||||||
|
|
||||||
action("back", backSlot, new ItemStackBuilder(Material.EMERALD)
|
action("back", backSlot, new ItemStackBuilder(Material.GREEN_DYE)
|
||||||
.title(I.t(getPlayerLocale(), "{green}« Back"))
|
.title(I.t(getPlayerLocale(), "{green}« Back"))
|
||||||
.lore(I.t(getPlayerLocale(), "{gray}Go back to the list."))
|
.lore(I.t(getPlayerLocale(), "{gray}Go back to the list."))
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user