Also show projectile id for aoe projectiles in dev tools

This commit is contained in:
Lucas
2019-05-04 17:01:17 +02:00
parent 6346b8439f
commit 02e5a64813

View File

@@ -423,6 +423,16 @@ class DevToolsOverlay extends Overlay
{
OverlayUtil.renderActorOverlay(graphics, projectile.getInteracting(), infoString, Color.RED);
}
else
{
LocalPoint projectilePoint = new LocalPoint((int) projectile.getX(), (int) projectile.getY());
Point textLocation = Perspective.getCanvasTextLocation(client, graphics, projectilePoint, infoString, 0);
if (textLocation != null)
{
OverlayUtil.renderTextLocation(graphics, textLocation, infoString, Color.RED);
}
}
}
}