Add null-check for target tile in GroundMarkersPlugin (#7112)

Sometimes there is no target tile (e.g for climb-down ladders).
This commit is contained in:
DannysPVM
2018-12-30 18:29:39 -06:00
committed by Tomas Slusny
parent 92556d168a
commit 5a7f1786a4

View File

@@ -286,6 +286,10 @@ public class GroundMarkerPlugin extends Plugin
}
Tile target = client.getSelectedSceneTile();
if (target == null)
{
return;
}
markTile(target.getLocalLocation());
}