Fixed bug preventing completion of restless ghost quest
This commit is contained in:
+1
@@ -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);
|
||||||
|
|||||||
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user