From f99b4bd0ad3aa964258c93ecbacedf9bbdb96b72 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 04:24:30 +0000 Subject: [PATCH 1/3] Bump org.apache.maven.plugins:maven-install-plugin from 3.1.0 to 3.1.2 Bumps [org.apache.maven.plugins:maven-install-plugin](https://github.com/apache/maven-install-plugin) from 3.1.0 to 3.1.2. - [Release notes](https://github.com/apache/maven-install-plugin/releases) - [Commits](https://github.com/apache/maven-install-plugin/compare/maven-install-plugin-3.1.0...maven-install-plugin-3.1.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-install-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f53a7397..a863becf 100644 --- a/pom.xml +++ b/pom.xml @@ -523,7 +523,7 @@ org.apache.maven.plugins maven-install-plugin - 3.1.0 + 3.1.2 From a4c1dd6f5b7962fc2f809d3f104877c9202ec271 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 May 2024 04:31:50 +0000 Subject: [PATCH 2/3] Bump org.xerial:sqlite-jdbc from 3.45.3.0 to 3.46.0.0 Bumps [org.xerial:sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.45.3.0 to 3.46.0.0. - [Release notes](https://github.com/xerial/sqlite-jdbc/releases) - [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG) - [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.45.3.0...3.46.0.0) --- updated-dependencies: - dependency-name: org.xerial:sqlite-jdbc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3ec71875..e00e2251 100644 --- a/pom.xml +++ b/pom.xml @@ -1152,7 +1152,7 @@ org.xerial sqlite-jdbc - 3.45.3.0 + 3.46.0.0 test From 18ab6623ffbdcaaab55803741f66a9c8ec543967 Mon Sep 17 00:00:00 2001 From: DGun Otto <102713261+HaHaWTH@users.noreply.github.com> Date: Fri, 31 May 2024 02:24:22 +0800 Subject: [PATCH 3/3] Support for latest Leaves --- src/main/java/fr/xephi/authme/util/PlayerUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/xephi/authme/util/PlayerUtils.java b/src/main/java/fr/xephi/authme/util/PlayerUtils.java index d9b867d7..3c9b6f4f 100644 --- a/src/main/java/fr/xephi/authme/util/PlayerUtils.java +++ b/src/main/java/fr/xephi/authme/util/PlayerUtils.java @@ -10,7 +10,7 @@ public final class PlayerUtils { // Utility class private PlayerUtils() { } - private static final boolean IS_LEAVES_SERVER = Utils.isClassLoaded("top.leavesmc.leaves.LeavesConfig"); + private static final boolean isLeavesServer = Utils.isClassLoaded("top.leavesmc.leaves.LeavesConfig") || Utils.isClassLoaded("org.leavesmc.leaves.LeavesConfig"); /** * Returns the IP of the given player. @@ -29,7 +29,7 @@ public final class PlayerUtils { * @return True if the player is an NPC, false otherwise */ public static boolean isNpc(Player player) { - if (IS_LEAVES_SERVER) { + if (isLeavesServer) { return player.hasMetadata("NPC") || player.getAddress() == null; } else { return player.hasMetadata("NPC");