From 7a91aca78f06a3fc17fe3daec3569d6274d17ac1 Mon Sep 17 00:00:00 2001 From: Byte Date: Sat, 24 Sep 2022 16:27:00 +0000 Subject: [PATCH] Fixed bug preventing completion of restless ghost quest --- .../quest/free/therestlessghost/RestlessGhostPlugin.java | 1 + .../content/quest/free/therestlessghost/RestlessGhostSkull.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/src/main/java/core/game/content/quest/free/therestlessghost/RestlessGhostPlugin.java b/Server/src/main/java/core/game/content/quest/free/therestlessghost/RestlessGhostPlugin.java index 8e88e1282..a85cd7d46 100644 --- a/Server/src/main/java/core/game/content/quest/free/therestlessghost/RestlessGhostPlugin.java +++ b/Server/src/main/java/core/game/content/quest/free/therestlessghost/RestlessGhostPlugin.java @@ -108,6 +108,7 @@ public final class RestlessGhostPlugin extends OptionHandler { player.getInventory().add(SKULL); player.getPacketDispatch().sendMessage("You find another skull."); } + player.getQuestRepository().getQuest(RestlessGhost.NAME).setStage(player, 40); break; case 2145: toggleCoffin(player, object); diff --git a/Server/src/main/java/core/game/content/quest/free/therestlessghost/RestlessGhostSkull.java b/Server/src/main/java/core/game/content/quest/free/therestlessghost/RestlessGhostSkull.java index 325e30e97..cc3bfcea4 100644 --- a/Server/src/main/java/core/game/content/quest/free/therestlessghost/RestlessGhostSkull.java +++ b/Server/src/main/java/core/game/content/quest/free/therestlessghost/RestlessGhostSkull.java @@ -25,7 +25,7 @@ public final class RestlessGhostSkull extends UseWithHandler { @Override public Plugin newInstance(Object arg) throws Throwable { addHandler(2145, OBJECT_TYPE, this); - addHandler(15052, OBJECT_TYPE, this); + addHandler(15061, OBJECT_TYPE, this); return this; }