From 167ce66057e006634788cf537cca5139722923c7 Mon Sep 17 00:00:00 2001 From: games647 Date: Sun, 3 Jul 2016 14:18:27 +0200 Subject: [PATCH] Added note about skin forwarding if premium uuids are disabled --- CHANGELOG.md | 1 + .../games647/fastlogin/bungee/tasks/AsyncPremiumCheck.java | 1 + core/src/main/resources/config.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc5c8263..b719bbdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ * Added support for making requests to Mojang from different IPv4 addresses * Added us.mcapi.com as third-party APIs to workaround rate-limits +* Fixed NPE in BungeeCord on cracked session ######1.6.2 diff --git a/bungee/src/main/java/com/github/games647/fastlogin/bungee/tasks/AsyncPremiumCheck.java b/bungee/src/main/java/com/github/games647/fastlogin/bungee/tasks/AsyncPremiumCheck.java index 46959727..0b8ba29c 100644 --- a/bungee/src/main/java/com/github/games647/fastlogin/bungee/tasks/AsyncPremiumCheck.java +++ b/bungee/src/main/java/com/github/games647/fastlogin/bungee/tasks/AsyncPremiumCheck.java @@ -48,6 +48,7 @@ public class AsyncPremiumCheck implements Runnable { } else if (profile.isPremium()) { requestPremiumLogin(connection, profile, username, true); } else { + //Cracked session plugin.getSession().put(connection, new BungeeLoginSession(username, false, profile)); } } catch (Exception ex) { diff --git a/core/src/main/resources/config.yml b/core/src/main/resources/config.yml index 3f921b47..364bb047 100644 --- a/core/src/main/resources/config.yml +++ b/core/src/main/resources/config.yml @@ -91,6 +91,7 @@ nameChangeCheck: false # * is the owner of the premium account # * the serverconnection is established through a premium connection (paid account authentification) # * has a skin +# * and you activated premium uuids # # This means this plugin doesn't need to create a new connection to the Mojang servers, because # the skin data is included in the Auth-Verification-Response sent by Mojang. If you want to use for other