mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-29 20:17:36 +01:00
Introduce isLogin() for backwards compatibility with Plugins like
GuiRules (Fixes #705)
This commit is contained in:
parent
c2c60caa5b
commit
0fc7674aa4
@ -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}.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user