Author Topic: High Five Calling drops  (Read 61 times)

Online oRiGiNaL

  • Heir
  • **
  • Posts: 31
Calling drops
« on: February 21, 2021, 11:15:29 AM »
What's wrong here? Can help someone?  :-\ ???
Code: [Select]
final NpcTemplate template = NpcData.getInstance().getTemplate(bossId);
if (template == null)
{
return;
}

List<Integer> drops = new ArrayList<>();
for (DropData drop : template.getAllDropData())
{
drops.add(drop.getItemId());
}
How i can call that list of drops?
greetings
I get error on for (DropData drop : template.getAllDropData())