cluescroll: NPE check (#1940)
This commit is contained in:
@@ -389,6 +389,11 @@ public class ClueScrollPlugin extends Plugin
|
|||||||
|
|
||||||
for (WorldPoint location : locations)
|
for (WorldPoint location : locations)
|
||||||
{
|
{
|
||||||
|
if (location == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Only set the location hint arrow if we do not already have more accurate location
|
// Only set the location hint arrow if we do not already have more accurate location
|
||||||
if (location.isInScene(client)
|
if (location.isInScene(client)
|
||||||
&& this.displayHintArrows
|
&& this.displayHintArrows
|
||||||
|
|||||||
Reference in New Issue
Block a user