diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml
index 69e9cca..dfe1b45 100644
--- a/dependency-reduced-pom.xml
+++ b/dependency-reduced-pom.xml
@@ -177,7 +177,7 @@
net.milkbowl.vault
Vault
- 1.5.2
+ 1.5.3
compile
@@ -189,7 +189,7 @@
com.cnaude.jobs
Jobs
- 2.13.1
+ 2.16.0
compile
diff --git a/pom.xml b/pom.xml
index 914821c..fd286a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,7 +132,7 @@
net.milkbowl.vault
Vault
- 1.5.2
+ 1.5.3
diff --git a/src/main/java/com/cnaude/purpleirc/PurpleIRC.java b/src/main/java/com/cnaude/purpleirc/PurpleIRC.java
index a66eac2..2318e9b 100644
--- a/src/main/java/com/cnaude/purpleirc/PurpleIRC.java
+++ b/src/main/java/com/cnaude/purpleirc/PurpleIRC.java
@@ -1291,11 +1291,13 @@ public class PurpleIRC extends JavaPlugin {
*/
public String getGroupSuffix(String worldName, String player) {
String suffix = "";
+ UUID uuid = getPlayerUuid(player);
if (vaultHelpers != null) {
if (vaultHelpers.chat != null) {
String group = "";
+ OfflinePlayer offlinePlayer = getServer().getOfflinePlayer(uuid);
try {
- group = vaultHelpers.permission.getPrimaryGroup(worldName, player);
+ group = vaultHelpers.permission.getPrimaryGroup(worldName, offlinePlayer);
} catch (Exception ex) {
logDebug("Problem with primary group (" + player + "): " + ex.getMessage());
}