mirror of
https://github.com/cnaude/PurpleIRC-spigot.git
synced 2025-02-10 00:22:01 +01:00
Check null uuid before attempting stuff.
This commit is contained in:
parent
55c3538fce
commit
67dff73d46
@ -1300,7 +1300,7 @@ public class PurpleIRC extends JavaPlugin {
|
||||
public String getGroupSuffix(String worldName, String player) {
|
||||
String suffix = "";
|
||||
UUID uuid = getPlayerUuid(player);
|
||||
if (vaultHelpers != null) {
|
||||
if (vaultHelpers != null && uuid != null) {
|
||||
if (vaultHelpers.chat != null) {
|
||||
String group = "";
|
||||
OfflinePlayer offlinePlayer = getServer().getOfflinePlayer(uuid);
|
||||
|
Loading…
Reference in New Issue
Block a user