Fix null values.

This commit is contained in:
KHobbits 2013-06-25 16:25:34 +01:00
parent cd4bdb83d4
commit 1a49cdd140
2 changed files with 2 additions and 5 deletions

View File

@ -3,7 +3,6 @@ package com.earth2me.essentials.perm;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
@ -12,11 +11,10 @@ import org.bukkit.event.server.ServiceRegisterEvent;
import org.bukkit.plugin.Plugin;
import org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsService;
public class ZPermissionsHandler extends SuperpermsHandler implements Listener
{
private ZPermissionsService service = null;
private boolean hasGetPlayerPrimaryGroup = false; // This is a post-1.0 addition
public ZPermissionsHandler(Plugin plugin)
@ -190,5 +188,4 @@ public class ZPermissionsHandler extends SuperpermsHandler implements Listener
return groups.get(0);
}
}
}

View File

@ -62,7 +62,7 @@ public class KeywordReplacer implements IText
}
else
{
displayName = ipAddress = balance = mails = world = worldTime12 = worldTime24 = worldDate = "";
displayName = address = ipAddress = balance = mails = world = worldTime12 = worldTime24 = worldDate = "";
}
userName = sender.getName();