[FIX] NPE в ProfileByUUIDResponse

This commit is contained in:
Gravita 2020-12-22 15:41:21 +07:00
parent b897fa55fd
commit 3cf5ee6d2c

View file

@ -63,6 +63,6 @@ public void execute(ChannelHandlerContext ctx, Client client) throws Exception {
sendError(String.format("ProfileByUUIDResponse: User with uuid %s not found or AuthProvider#uuidToUsername returned null", uuid)); sendError(String.format("ProfileByUUIDResponse: User with uuid %s not found or AuthProvider#uuidToUsername returned null", uuid));
return; return;
} }
sendResult(new ProfileByUUIDRequestEvent(getProfile(uuid, username, this.client, client.auth.textureProvider))); sendResult(new ProfileByUUIDRequestEvent(getProfile(uuid, username, this.client, pair.textureProvider)));
} }
} }