hmm u may have the method in their twice.
do u have teamviewer?
|
Tried and tried the door opens and says the message. I don't got the id's in my inventory or weilding them.
i even tried seeing that they are the same i don't know.Code:if(stage == 1 && player.getEquipment().contains(1139) && player.getEquipment().contains(1101)) { DoorManager.handleDoor(player, loc, objectId); } else { player.getActionSender().sendMessage("You need to be weilding a bronze med helm and a iron chainmail"); }
Code:if(stage == 1 && !player.getEquipment().contains(1139) && !player.getEquipment().contains(1101)) { player.getActionSender().sendMessage("You need to be weilding a bronze med helm and a iron chainmail"); } else { DoorManager.handleDoor(player, loc, objectId); }
hmm u may have the method in their twice.
do u have teamviewer?
i can download teamviewer.
It's in this
Code:if(loc.equals(BLACK_KNIGHT_DOOR) && (objectId == 2337)) { //DoorManager.handleDoor(player, loc, objectId); final int stage = player.getQuestInfo()[QUEST_INFO_INDEX][QUEST_STAGE_INDEX]; if(stage == 1 && player.getEquipment().contains(1139) && player.getEquipment().contains(1101)) { DoorManager.handleDoor(player, loc, objectId); } else { player.getActionSender().sendMessage("You need to be weilding a bronze med helm and a iron chainmail"); } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |