I'm intented very very times and i not obtened results...
I create and method and... i post followings:
Code: Select all
if (player.getInventory().getItemByItemId(3870)){ code... }
and the eclipse I get this error, says:
Type mismatch: cannot convert from L2ItemInstance to boolean
And the eclipse i have the option for change to boolean...
They can help me pls... thank you for all