Fixed a regression in the Witch's House where the fountain could not be searched after reading the book
This commit is contained in:
@@ -121,6 +121,9 @@ class WitchesDiaryBook : InteractionListener {
|
||||
)
|
||||
private fun display(player:Player, pageNum: Int, buttonID: Int) : Boolean {
|
||||
BookInterface.pageSetup(player, BookInterface.FANCY_BOOK_3_49, TITLE, CONTENTS)
|
||||
if (BookInterface.isLastPage(pageNum, CONTENTS.size)) {
|
||||
setAttribute(player, "/save:readWitchsBook", true);
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
-4
@@ -159,10 +159,6 @@ public class WitchsHousePlugin extends OptionHandler {
|
||||
case 24673:
|
||||
player.teleport(Location.create(2906, 3468, 0));
|
||||
break;
|
||||
case 2408:
|
||||
player.getDialogueInterpreter().open(4501993, node);
|
||||
player.setAttribute("/save:readWitchsBook", true);
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user