Do not set hint arrows for object clue scroll
As it is set in check for LocatioClueScroll it is not necessary to set it also in object clue scroll check. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -325,12 +325,6 @@ public class ClueScrollPlugin extends Plugin
|
||||
objectsToMark = Arrays.stream(tile.getGameObjects())
|
||||
.filter(object -> object != null && ArrayUtils.contains(objectIds, object.getId()))
|
||||
.toArray(GameObject[]::new);
|
||||
|
||||
// Set hint arrow to first object found as there can only be 1 hint arrow
|
||||
if (config.displayHintArrows() && objectsToMark.length >= 1)
|
||||
{
|
||||
client.setHintArrow(objectsToMark[0].getWorldLocation());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user