mirror of
https://github.com/zDevelopers/ImageOnMap.git
synced 2024-11-28 21:15:46 +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) {
|
||||
action("delete", deleteSlot, new ItemStackBuilder(Material.BARRIER)
|
||||
action("delete", deleteSlot, new ItemStackBuilder(Material.REDSTONE)
|
||||
.title(I.t(getPlayerLocale(), "{red}Delete this image"))
|
||||
.longLore(I.t(getPlayerLocale(),
|
||||
"{gray}Deletes this map {white}forever{gray}. This action cannot be undone!"))
|
||||
@ -194,7 +194,7 @@ public class MapDetailGui extends ExplorerGui<Integer> {
|
||||
backSlot++;
|
||||
}
|
||||
|
||||
action("back", backSlot, new ItemStackBuilder(Material.EMERALD)
|
||||
action("back", backSlot, new ItemStackBuilder(Material.GREEN_DYE)
|
||||
.title(I.t(getPlayerLocale(), "{green}« Back"))
|
||||
.lore(I.t(getPlayerLocale(), "{gray}Go back to the list."))
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user