Do not draw yellow dot for local player in barrows plugin
It is already drawn as white square later. Closes #6918 Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -94,6 +94,12 @@ class BarrowsOverlay extends Overlay
|
|||||||
final List<Player> players = client.getPlayers();
|
final List<Player> players = client.getPlayers();
|
||||||
for (Player player : players)
|
for (Player player : players)
|
||||||
{
|
{
|
||||||
|
if (player == local)
|
||||||
|
{
|
||||||
|
// Skip local player as we draw square for it later
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
net.runelite.api.Point minimapLocation = player.getMinimapLocation();
|
net.runelite.api.Point minimapLocation = player.getMinimapLocation();
|
||||||
if (minimapLocation != null)
|
if (minimapLocation != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user