Merge remote-tracking branch 'runelite/master' into 0908-merge

This commit is contained in:
Owain van Brakel
2019-08-10 03:37:36 +02:00
3 changed files with 5 additions and 3 deletions

View File

@@ -216,6 +216,8 @@ public class TabInterface
if (config.rememberTab() && !Strings.isNullOrEmpty(config.tab()))
{
// the server will resync the last opened vanilla tab when the bank is opened
client.setVarbit(Varbits.CURRENT_BANK_TAB, 0);
openTag(config.tab());
}
}
@@ -328,7 +330,7 @@ public class TabInterface
switch (event.getOp())
{
case Tab.OPEN_TAG:
client.setVarbitValue(client.getVarps(), Varbits.CURRENT_BANK_TAB.getId(), 0);
client.setVarbit(Varbits.CURRENT_BANK_TAB, 0);
Widget clicked = event.getSource();
TagTab tab = tabManager.find(Text.removeTags(clicked.getName()));