Skip to content

Commit

Permalink
betterprofiles: fixes #580
Browse files Browse the repository at this point in the history
  • Loading branch information
SRLJustin committed Oct 14, 2021
1 parent 958ca94 commit 35d5632
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion betterprofiles/betterprofiles.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import ProjectVersions.openosrsVersion
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

version = "4.0.0"
version = "4.0.1"

project.extra["PluginName"] = "Better Profiles"
project.extra["PluginDescription"] = "Allow for a allows you to easily switch between multiple OSRS Accounts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void mouseExited(MouseEvent e)
@Override
public void mousePressed(MouseEvent e)
{
if (SwingUtilities.isLeftMouseButton(e) && client.getGameState() == GameState.LOGIN_SCREEN)
if (SwingUtilities.isLeftMouseButton(e) && (client.getGameState() == GameState.LOGIN_SCREEN || client.getGameState() == GameState.LOGIN_SCREEN_AUTHENTICATOR))
{
client.setUsername(loginText);
if (config.rememberPassword() && password != null)
Expand All @@ -158,7 +158,7 @@ public void mousePressed(MouseEvent e)
@Override
public void mousePressed(MouseEvent e)
{
if (SwingUtilities.isLeftMouseButton(e) && client.getGameState() == GameState.LOGIN_SCREEN)
if (SwingUtilities.isLeftMouseButton(e) && (client.getGameState() == GameState.LOGIN_SCREEN || client.getGameState() == GameState.LOGIN_SCREEN_AUTHENTICATOR))
{
client.setUsername(loginText);
if (config.rememberPassword() && password != null)
Expand Down

0 comments on commit 35d5632

Please sign in to comment.