- Joined
- Jan 31, 2017
- Messages
- 121
- Thread Author
- #1
Affected games: OSRS
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).
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: