setResult

public void setResult(PlayerLoginEvent.Result result)

Sets the new result of the login, as an enum

Parameters

result

New result to set