mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Fixed a bug with Oziach's dialogue
This commit is contained in:
parent
52ddebacea
commit
6f541049ae
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ public final class OziachDialogue extends DialoguePlugin {
|
|||
public boolean open(Object... args) {
|
||||
npc = (NPC) args[0];
|
||||
quest = player.getQuestRepository().getQuest("Dragon Slayer");
|
||||
player.debug("" + quest.getStage(player));
|
||||
switch (quest.getStage(player)) {
|
||||
case 100:
|
||||
npc("Aye, 'tis a fair day, my mighty dragon-slaying friend.");
|
||||
|
|
@ -94,6 +95,9 @@ public final class OziachDialogue extends DialoguePlugin {
|
|||
case 20:
|
||||
if (stage == -1) {
|
||||
end();
|
||||
} else {
|
||||
end();
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 100:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue