bank tags: properly open saved tab

Jagex appears to be syncing the current tab varbit more aggressively now, so if the active tab was not the first tab before switching to a tag tab, bank layout would misbehave when the bank was reopened.
This commit is contained in:
trimbe
2019-08-06 21:48:18 -04:00
parent 4be0fc0e38
commit a0aac87971

View File

@@ -215,6 +215,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());
}
}