Add PlayerData.getPrimaryGroup
This commit is contained in:
parent
b77daee289
commit
99099a345a
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue