Add nullcheck to WarPointEvasion

This commit is contained in:
samczsun 2016-06-01 16:40:53 -04:00 committed by Sam Sun
parent f9826abc1e
commit 64e1288ba2

View File

@ -56,7 +56,7 @@ public class WarPointEvasion extends MiniPlugin
uuidIterator.remove();
Player player = Bukkit.getPlayer(uuid);
if (player.isOnline())
if (player != null && player.isOnline())
{
if(ClansManager.getInstance().getClan(player) == null)
{