if (!started.getAndSet(true)) {
board.get().playerTwo = clicker.getUniqueId();
resultMessage.set(sys.message().escaped("Tic Tac Toe").newLine().escaped(user.getUsername()).escaped(" vs ").escaped(clicker.getUsername()));
Consumer<Boolean> onWin = playerOne -> m.get().edit(sys.message().escaped("Congratulations, " + (playerOne ? user.getUsername() : clicker.getUsername())).newLine().raw(board.get().toTextKeyboard(sys)).setKeyboard(new Keyboard()));
Runnable onDraw = () -> m.get().edit(sys.message().escaped("It's a draw between " + user.getUsername() + " and " + clicker.getUsername()).newLine().raw(board.get().toTextKeyboard(sys)).setKeyboard(new Keyboard()));
<BUG>onClick.set(() -> m.get().edit(sys.message().raw(resultMessage.get().build()).newLine().escaped("It's " + (board.get().playerOneTurn ? user.getUsername() : clicker.getUsername()) + "'s turn!").setKeyboard(board.get().toKeyboard(onClick.get(), onDraw, onWin))));
onClick.get().run();</BUG>
}
})));
m.set(group.sendMessage(sys.message().escaped("Click to begin ").bold(z -> z.escaped("Tic Tac Toe")).setKeyboard(kb)));

if (!started.getAndSet(true)) {
board.get().playerTwo = clicker.getUniqueId();
resultMessage.set(sys.message().escaped("Tic Tac Toe").newLine().escaped(user.getUsername()).escaped(" vs ").escaped(clicker.getUsername()));
Consumer<Boolean> onWin = playerOne -> m.get().edit(sys.message().escaped("Congratulations, " + (playerOne ? user.getUsername() : clicker.getUsername())).newLine().raw(board.get().toTextKeyboard(sys)).setKeyboard(new Keyboard()));
Runnable onDraw = () -> m.get().edit(sys.message().escaped("It's a draw between " + user.getUsername() + " and " + clicker.getUsername()).newLine().raw(board.get().toTextKeyboard(sys)).setKeyboard(new Keyboard()));
onClick.set(() -> m.get().edit(sys.message().raw(resultMessage.get()).newLine().escaped("It's " + (board.get().playerOneTurn ? user.getUsername() : clicker.getUsername()) + "'s turn!").setKeyboard(board.get().toKeyboard(onClick.get(), onDraw, onWin))));
onClick.get().run();
}
})));
m.set(group.sendMessage(sys.message().escaped("Click to begin ").bold(z -> z.escaped("Tic Tac Toe")).setKeyboard(kb)));
