Варнинг при отсутствии профиля

This commit is contained in:
Gravit 2019-01-04 17:46:39 +07:00
parent d6b8394016
commit 92c5989b5e
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -51,6 +51,7 @@ public static boolean auth(ServerWrapper wrapper) {
break; break;
} }
} }
if(wrapper.profile == null) LogHelper.warning("Your profile not found");
return true; return true;
} catch (Throwable e) { } catch (Throwable e) {
LogHelper.error(e); LogHelper.error(e);