Check null uuid before attempting stuff.

This commit is contained in:
cnaude 2015-02-26 20:07:30 -07:00
parent 55c3538fce
commit 67dff73d46

View File

@ -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);