Fixed bug preventing completion of restless ghost quest

This commit is contained in:
Byte
2022-09-24 16:27:00 +00:00
committed by Ryan
parent 2586c4b66a
commit 7a91aca78f
2 changed files with 2 additions and 1 deletions
@@ -108,6 +108,7 @@ public final class RestlessGhostPlugin extends OptionHandler {
player.getInventory().add(SKULL); player.getInventory().add(SKULL);
player.getPacketDispatch().sendMessage("You find another skull."); player.getPacketDispatch().sendMessage("You find another skull.");
} }
player.getQuestRepository().getQuest(RestlessGhost.NAME).setStage(player, 40);
break; break;
case 2145: case 2145:
toggleCoffin(player, object); toggleCoffin(player, object);
@@ -25,7 +25,7 @@ public final class RestlessGhostSkull extends UseWithHandler {
@Override @Override
public Plugin<Object> newInstance(Object arg) throws Throwable { public Plugin<Object> newInstance(Object arg) throws Throwable {
addHandler(2145, OBJECT_TYPE, this); addHandler(2145, OBJECT_TYPE, this);
addHandler(15052, OBJECT_TYPE, this); addHandler(15061, OBJECT_TYPE, this);
return this; return this;
} }