Core: Make "Login Failed" message more clear.

This commit is contained in:
Goodlyay 2016-12-01 20:34:33 -08:00
parent bc50b7d5f5
commit 36dd41619b

View File

@ -83,7 +83,7 @@ namespace MCGalaxy {
string hashHex = BitConverter.ToString(hash); string hashHex = BitConverter.ToString(hash);
if (!mppass.CaselessEq(hashHex.Replace("-", ""))) { if (!mppass.CaselessEq(hashHex.Replace("-", ""))) {
if (!Player.IPInPrivateRange(p.ip)) { if (!Player.IPInPrivateRange(p.ip)) {
p.Leave(null, "Login failed! Try signing in again.", true); return false; p.Leave(null, "Login failed! Close the game and sign in again.", true); return false;
} }
} else { } else {
p.verifiedName = true; p.verifiedName = true;