#831 Cleanup, finalization

- Handle AsyncPlayerPreLoginEvent in main PlayerListener class: Spigot emits it in offline mode, whereas offline CraftBukkit doesn't
- Remove listener for sync PlayerPreLoginEvent; not fired by offline CraftBukkit either
- Add warning when offline CraftBukkit is detected and single session setting is enabled
This commit is contained in:
ljacqu
2016-08-03 19:58:10 +02:00
parent b892b8e3a8
commit 80337f758b
10 changed files with 54 additions and 111 deletions
@@ -1,6 +1,9 @@
package fr.xephi.authme.util;
public class ServerUtils {
public final class ServerUtils {
private ServerUtils() {
}
/**
* Check if the server implementation is based on Spigot