Add nullcheck to WarPointEvasion
This commit is contained in:
parent
f9826abc1e
commit
64e1288ba2
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user