diff --git a/gradle.properties b/gradle.properties index 44a0e03..24e10fd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10 loader_version=0.16.5 # Mod Properties -mod_version=1.8.4 +mod_version=1.8.5 maven_group=cc.reconnected archives_base_name=rcc-server diff --git a/src/main/java/cc/reconnected/server/database/PlayerData.java b/src/main/java/cc/reconnected/server/database/PlayerData.java index 4c4b6f0..0cc350a 100644 --- a/src/main/java/cc/reconnected/server/database/PlayerData.java +++ b/src/main/java/cc/reconnected/server/database/PlayerData.java @@ -130,6 +130,10 @@ public class PlayerData { }); } + public String getPrimaryGroup() { + return lpUser.getPrimaryGroup(); + } + public static PlayerData getPlayer(UUID uuid) { var lp = luckPerms(); var userManager = lp.getUserManager();