Code:
case 4:
if (componentId == OPTION_2) {
end();
} else {
player.getQuestManager().setQuestStageAndRefresh(Quests.IN_SEARCH_OF_SLIVERLIGHT, 0);
if (player.getInventory().containsItem(11690, 1));
stage = 5;
break;
}
could anyone please tell me mine mistake? i want to start next dialogue stage if player have item in inventory if he does not the dialogue end.
its 2 options dialogue here. so 2nd one closes the dialogue. and i want first one will close if you dont have item requested and continues if you have one