Add Mythical Cape icon to POH (#10828)

This commit is contained in:
JZomerlei
2020-02-28 05:20:41 -05:00
committed by GitHub
parent c45b24aaef
commit 634758626c
4 changed files with 16 additions and 1 deletions

View File

@@ -160,4 +160,14 @@ public interface PohConfig extends Config
{
return true;
}
@ConfigItem(
keyName = "showMythicalCape",
name = "Show Mythical Cape",
description = "Configures whether or not the Mythical Cape is displayed"
)
default boolean showMythicalCape()
{
return true;
}
}

View File

@@ -86,7 +86,8 @@ public enum PohIcons
),
DIGSITEPENDANT("digsitependant",
DIGSITE_PENDANT, DIGSITE_PENDANT_33417, DIGSITE_PENDANT_33418, DIGSITE_PENDANT_33420
);
),
MYTHICALCAPE("mythicalcape", MYTHICAL_CAPE, MOUNTED_MYTHICAL_CAPE);
private static final Map<Integer, PohIcons> minimapIcons;

View File

@@ -144,5 +144,9 @@ public class PohOverlay extends Overlay
{
iconList.add(PohIcons.XERICSTALISMAN);
}
if (config.showMythicalCape())
{
iconList.add(PohIcons.MYTHICALCAPE);
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B