diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/AbstractVaultChat.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/AbstractVaultChat.java index 6c51db725..685d6e20a 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/AbstractVaultChat.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/AbstractVaultChat.java @@ -135,7 +135,7 @@ public abstract class AbstractVaultChat extends Chat { if (player == null) { return null; } - return player(Bukkit.getOfflinePlayer(player)); + return player(Bukkit.getPlayerExact(player)); } private static UUID player(OfflinePlayer player) { diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/AbstractVaultPermission.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/AbstractVaultPermission.java index 46048afd0..839624de6 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/AbstractVaultPermission.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/vault/AbstractVaultPermission.java @@ -99,7 +99,7 @@ public abstract class AbstractVaultPermission extends Permission { if (player == null) { return null; } - return player(Bukkit.getOfflinePlayer(player)); + return player(Bukkit.getPlayerExact(player)); } private static UUID player(OfflinePlayer player) {