Merge pull request #2597 from Abextm/fix-kourendlibrary

kourendlibrary: Fix for rev 170 menu code
This commit is contained in:
Adam
2018-05-11 17:38:13 -04:00
committed by GitHub

View File

@@ -118,7 +118,7 @@ public class KourendLibraryPlugin extends Plugin
{
if (MenuAction.GAME_OBJECT_FIRST_OPTION == menuOpt.getMenuAction() && menuOpt.getMenuTarget().contains("Bookshelf"))
{
lastBookcaseClick = WorldPoint.fromRegion(client, menuOpt.getId() & 127, menuOpt.getId() >> 7 & 127, client.getPlane());
lastBookcaseClick = WorldPoint.fromRegion(client, menuOpt.getActionParam(), menuOpt.getWidgetId(), client.getPlane());
}
}