Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Check null uuid before attempting stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed Feb 27, 2015
1 parent f4e3d27 commit 5b1b497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cnaude/purpleirc/PurpleIRC.java
Expand Up @@ -1282,7 +1282,7 @@ public String getGroupSuffix(Player player) {
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);
Expand Down

0 comments on commit 5b1b497

Please sign in to comment.