Skip to content

Use Config

Featured Replies

Hello guys maybe someone can help me to make make if (item.getItemId() == 57) to work with config

if (item.getItemId() == 57)
{
	distributeAdena(player, item.getItemId(), item.getCount(), target);
	return;
}

 

 

Edited by cyta5

Solved by Tryskell

  • Author
7 minutes ago, Rootware said:

You tries to compare integer ans string values.

and how i fix it ? :D im newbie

  • Solution
3 minutes ago, cyta5 said:

and how i fix it ? :D im newbie

if (Config.ITEM_ID_LIST.contains(item.getItemId()))

 

  • Author

ok lock topic

Edited by cyta5

  • SweeTs locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.