diff --git a/bukkit/pom.xml b/bukkit/pom.xml index 87bcce7e..e27a2bfb 100644 --- a/bukkit/pom.xml +++ b/bukkit/pom.xml @@ -31,6 +31,8 @@ 4.1.79.Final + + 8 @@ -167,13 +169,6 @@ ${project.version} - - org.yaml - snakeyaml - 1.33 - compile - - io.papermc.paper diff --git a/bungee/pom.xml b/bungee/pom.xml index 3787c8cc..46b1489c 100644 --- a/bungee/pom.xml +++ b/bungee/pom.xml @@ -40,6 +40,10 @@ fastlogin.bungee jar + + 8 + + FastLoginBungee diff --git a/bungee/src/main/java/com/github/games647/fastlogin/bungee/BungeeLoginSource.java b/bungee/src/main/java/com/github/games647/fastlogin/bungee/BungeeLoginSource.java index 06f41987..7d25282c 100644 --- a/bungee/src/main/java/com/github/games647/fastlogin/bungee/BungeeLoginSource.java +++ b/bungee/src/main/java/com/github/games647/fastlogin/bungee/BungeeLoginSource.java @@ -54,9 +54,15 @@ public class BungeeLoginSource implements LoginSource { preLoginEvent.setCancelled(true); if (message == null) { - preLoginEvent.setCancelReason(new ComponentBuilder("Kicked").color(ChatColor.WHITE).create()); + preLoginEvent.setReason( + TextComponent.fromArray( + new ComponentBuilder("Kicked").color(ChatColor.WHITE).create() + )); } else { - preLoginEvent.setCancelReason(TextComponent.fromLegacyText(message)); + preLoginEvent.setReason( + TextComponent.fromArray( + TextComponent.fromLegacyText(message) + )); } } @@ -72,7 +78,7 @@ public class BungeeLoginSource implements LoginSource { @Override public String toString() { return this.getClass().getSimpleName() + '{' - + "connection=" + connection - + '}'; + + "connection=" + connection + + '}'; } } diff --git a/core/pom.xml b/core/pom.xml index c8a26cd8..aed3bfc5 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -39,6 +39,13 @@ fastlogin.core jar + + 8 + 8 + + 21 + + FastLoginCore @@ -142,7 +149,7 @@ net.md-5 bungeecord-config - 1.19-R0.1-SNAPSHOT + 1.20-R0.2-SNAPSHOT @@ -191,44 +198,7 @@ com.github.games647 craftapi - 0.7 - - - - - com.google.guava - guava - - 25.1-jre - - - - com.google.code.findbugs - jsr305 - - - org.checkerframework - checker-qual - - - com.google.errorprone - error_prone_annotations - - - com.google.j2objc - j2objc-annotations - - - org.codehaus.mojo - animal-sniffer-annotations - - - - - - com.google.code.gson - gson - 2.10.1 + 0.8 diff --git a/core/src/main/java/com/github/games647/fastlogin/core/storage/StoredProfile.java b/core/src/main/java/com/github/games647/fastlogin/core/storage/StoredProfile.java index 625d383f..77d74e9a 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/storage/StoredProfile.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/storage/StoredProfile.java @@ -97,10 +97,15 @@ public class StoredProfile extends Profile { this.id = uniqueId; } + @Deprecated public synchronized boolean isPremium() { return premium; } + public synchronized boolean isOnlinemodePreferred() { + return premium; + } + public synchronized void setPremium(boolean premium) { this.premium = premium; } diff --git a/pom.xml b/pom.xml index cac23ec4..44b6aa5e 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ Unknown - 8 + 8 1.18.32 diff --git a/velocity/pom.xml b/velocity/pom.xml index 2c51f8f4..dec71bf5 100644 --- a/velocity/pom.xml +++ b/velocity/pom.xml @@ -44,10 +44,7 @@ FastLoginVelocity - 11 - ${java.version} - ${java.version} - ${java.version} + 11