Skip to content

Commit

Permalink
Proper order
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxopoly committed Nov 19, 2018
1 parent 7caa5e2 commit b3c734c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/github/maxopoly/angelia_cmd/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ public static void main(String[] args) {
connection.getEventHandler().registerListener(new PlayerStateListener(logger));
cmdHandler = new CommandHandler(logger);
CommandLineReader reader = new CommandLineReader(logger, connManager, connection.getPlayerName(), cmdHandler);
reader.start();
cmdHandler.handle(parser.getCmdToRun(), connection);
reader.start();
}

public static CommandHandler getCommandHandler() {
Expand Down

0 comments on commit b3c734c

Please sign in to comment.