Add Mythical Cape icon to POH (#10828)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user