mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-28 05:35:56 -04:00
Remove old debug code
This commit is contained in:
parent
0a4b365242
commit
b7dd1ba04e
@ -80,7 +80,6 @@ function joinServer(username, serverId, accessToken, selectedProfile, cb) {
|
||||
function validateSession(username, serverId, cb) {
|
||||
superagent.get("https://sessionserver.mojang.com/session/minecraft/hasJoined?username=" + username + "&serverId=" + serverId)
|
||||
.end(function(resp) {
|
||||
console.log(resp.body);
|
||||
if (resp.ok) {
|
||||
if ("id" in resp.body) {
|
||||
cb(null, resp.body.id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user