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:
Tomas Slusny
2018-10-04 16:44:09 +02:00
parent 108050a805
commit db815daab2

View File

@@ -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());
}
}
}
}