2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2026-04-09 00:20:26 +00:00

add new generic for velocity

This commit is contained in:
2022-07-07 00:13:11 +04:00
parent f7285ff4f1
commit ea665fd70f
2 changed files with 6 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import java.util.Collection;
import java.util.List;
import java.util.Map;
public abstract class AbstractRedisBungeeListener<LE, PLE, PD, SC, PP, PM, PS> {
public abstract class AbstractRedisBungeeListener<LE, PLE, PD, SC, PP, PM, PS, CN> {
protected static final String ALREADY_LOGGED_IN = "§cYou are already logged on to this server. \n\nIt may help to try logging in again in a few minutes.\nIf this does not resolve your issue, please contact staff.";
@@ -26,7 +26,10 @@ public abstract class AbstractRedisBungeeListener<LE, PLE, PD, SC, PP, PM, PS> {
this.exemptAddresses = exemptAddresses;
}
public abstract void onLogin(LE event);
public void onLogin(LE event) {}
public void onLogin(LE event, CN continuation) {}
public abstract void onPostLogin(PLE event);