Should be ````} else if (!(entity instanceof EntityPlayer)) {````