From a545cd1ac0062ad45aa68cd638056c57fd8d5ffd Mon Sep 17 00:00:00 2001 From: Lucwousin Date: Mon, 20 May 2019 03:06:05 +0200 Subject: [PATCH] Change slayer bracelet text position (#313) --- .../net/runelite/client/plugins/slayer/SlayerOverlay.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/slayer/SlayerOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/slayer/SlayerOverlay.java index a084858458..386bbfcd79 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/slayer/SlayerOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/slayer/SlayerOverlay.java @@ -46,7 +46,9 @@ class SlayerOverlay extends WidgetItemOverlay ItemID.SLAYER_RING_5, ItemID.SLAYER_RING_6, ItemID.SLAYER_RING_7, - ItemID.SLAYER_RING_8 + ItemID.SLAYER_RING_8, + ItemID.BRACELET_OF_SLAUGHTER, + ItemID.EXPEDITIOUS_BRACELET ); private final static Set ALL_SLAYER_ITEMS = ImmutableSet.of( @@ -122,7 +124,7 @@ class SlayerOverlay extends WidgetItemOverlay textComponent.setText(String.valueOf(amount)); - // Draw the counter in the bottom left for equipment, and top left for jewelry + // Draw the counter in the top left for equipment, and bottom left for jewelry textComponent.setPosition(new Point(bounds.x, bounds.y + (SLAYER_JEWELRY.contains(itemId) ? bounds.height : graphics.getFontMetrics().getHeight())));