Merge pull request #180 from Lucwousin/oh_no_whats_that_id_help
Also show projectile id for aoe projectiles in dev tools
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user