diff --git a/src/main/java/fr/xephi/authme/events/LoginEvent.java b/src/main/java/fr/xephi/authme/events/LoginEvent.java index 6c2647fd8..d36dcc1a5 100644 --- a/src/main/java/fr/xephi/authme/events/LoginEvent.java +++ b/src/main/java/fr/xephi/authme/events/LoginEvent.java @@ -30,6 +30,16 @@ public class LoginEvent extends CustomEvent { return player; } + /** + * + * @return + * @deprecated this will always return true because this event is only called if it was successful + */ + @Deprecated + public boolean isLogin() { + return true; + } + /** * Return the list of handlers, equivalent to {@link #getHandlers()} and required by {@link Event}. *