Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug OverheadIcon ids

Joined
Jan 31, 2017
Messages
121
Affected games: OSRS

Code:
LocatableEntityQueryResults<Player> results = Players.newQuery().filter(
                (Player player) -> player.getOverheadIcons().size() > 0
        ).results();

for(Player r :  results)
   for(OverheadIcon i : r.getOverheadIcons())
      bot.getLogger().debug(r.getName() + " with id: " + i.getId() + "");

Code:
00:00:59 DEBUG    2** ******* with id: 0
00:00:59 DEBUG    2** ******* with id: 0
00:00:59 DEBUG    S**** with id: 0
00:00:59 DEBUG    R******** with id: 0

2** ******* has a skull.
2** ******* has Protect from melee activated.
S**** has a skull.
R******** has a skull.

2** ******* is also the local player (me).
 
Last edited:
Top