cyta5 Posted October 4, 2019 Posted October 4, 2019 (edited) 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 October 4, 2019 by cyta5
0 Tryskell Posted October 4, 2019 Posted October 4, 2019 3 minutes ago, cyta5 said: and how i fix it ? :D im newbie if (Config.ITEM_ID_LIST.contains(item.getItemId()))
0 Rootware Posted October 4, 2019 Posted October 4, 2019 You tries to compare integer ans string values.
0 cyta5 Posted October 4, 2019 Author Posted October 4, 2019 7 minutes ago, Rootware said: You tries to compare integer ans string values. and how i fix it ? :D im newbie
0 cyta5 Posted October 4, 2019 Author Posted October 4, 2019 (edited) ok lock topic Edited October 4, 2019 by cyta5
Question
cyta5
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; }
4 answers to this question
Recommended Posts