cluescroll: NPE check (#1940)

This commit is contained in:
Owain van Brakel
2019-11-08 02:11:33 +01:00
committed by Ganom
parent a918e481d3
commit d9d8ebb1b0

View File

@@ -389,6 +389,11 @@ public class ClueScrollPlugin extends Plugin
for (WorldPoint location : locations)
{
if (location == null)
{
continue;
}
// Only set the location hint arrow if we do not already have more accurate location
if (location.isInScene(client)
&& this.displayHintArrows