package com.github.games647.lambdaattack.bot.listener;

import com.github.games647.lambdaattack.LambdaAttack;
import com.github.games647.lambdaattack.bot.Bot;
import com.github.steveice10.packetlib.event.session.DisconnectedEvent;
import com.github.steveice10.packetlib.event.session.SessionAdapter;

import java.util.logging.Level;

public abstract class SessionListener extends SessionAdapter {

    protected final Bot owner;

    public SessionListener(Bot owner) {
        this.owner = owner;
    }

    @Override
    public void disconnected(DisconnectedEvent disconnectedEvent) {
        String reason = disconnectedEvent.getReason();
        owner.getLogger().log(Level.INFO, "Disconnected: {0}", reason);
    }

    public void onJoin() {
        if (LambdaAttack.getInstance().isAutoRegister()) {
            String password = LambdaAttack.PROJECT_NAME;
            owner.sendMessage(Bot.COMMAND_IDENTIFIER + "register " + password + password);
            owner.sendMessage(Bot.COMMAND_IDENTIFIER + "login " + password);
        }
    }
}

@@ -936,16 +936,22 @@
 ssword +
+ ' ' +
  passwor

Fix missing space seperator betwen auto register passwords