Skip to content

Commit

Permalink
Change last supported version to 1285
Browse files Browse the repository at this point in the history
  • Loading branch information
nekiro committed Feb 2, 2022
1 parent b324206 commit 250d766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/game.cpp
Expand Up @@ -1478,7 +1478,7 @@ void Game::setProtocolVersion(int version)
if(isOnline())
stdext::throw_exception("Unable to change protocol version while online");

if(version != 0 && (version < 740 || version > 1281))
if(version != 0 && (version < 740 || version > 1285))
stdext::throw_exception(stdext::format("Protocol version %d not supported", version));

m_protocolVersion = version;
Expand All @@ -1496,7 +1496,7 @@ void Game::setClientVersion(int version)
if(isOnline())
stdext::throw_exception("Unable to change client version while online");

if(version != 0 && (version < 740 || version > 1281))
if(version != 0 && (version < 740 || version > 1285))
stdext::throw_exception(stdext::format("Client version %d not supported", version));

m_features.reset();
Expand Down

0 comments on commit 250d766

Please sign in to comment.