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:
J-eremy 2022-03-13 06:32:43 -04:00 committed by GitHub
parent 243cfc2402
commit 5d90b1e756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."))
); );