mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-17 12:21:54 +01:00
Remove the old SessionEvent, unused in new system
This commit is contained in:
parent
b5dcc64ce8
commit
af5d8d17f0
@ -1,33 +0,0 @@
|
|||||||
package fr.xephi.authme.events;
|
|
||||||
|
|
||||||
import fr.xephi.authme.cache.auth.PlayerAuth;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* This event is call when a player logging in through a timed session
|
|
||||||
*
|
|
||||||
* @author Xephi59
|
|
||||||
*/
|
|
||||||
public class SessionEvent extends CustomEvent {
|
|
||||||
|
|
||||||
private PlayerAuth player;
|
|
||||||
private boolean isLogin;
|
|
||||||
|
|
||||||
public SessionEvent(PlayerAuth auth, boolean isLogin) {
|
|
||||||
this.player = auth;
|
|
||||||
this.isLogin = isLogin;
|
|
||||||
}
|
|
||||||
|
|
||||||
public PlayerAuth getPlayerAuth() {
|
|
||||||
return this.player;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPlayer(PlayerAuth player) {
|
|
||||||
this.player = player;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isLogin() {
|
|
||||||
return isLogin;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user